Qt Creator no Application Output

hello i have problem, with Aplication Output not printing like qDebug, qWarning, etc

I test it with create new Qt Widget Applictaion and add code as below on main.cpp

#include "mainwindow.h"
#include <QApplication>

#include <QDebug>

int main(int argc, char *argv])
{
    qDebug() << "Debug";
    qWarning() << "Warning";
    qInfo() << "Info";
    qCritical() << "Critical";

    QApplication a(argc, argv);
    MainWindow w;
    w.show();

    return a.exec();
}


the output only

16:43:41: Debugging starts
16:43:45: Debugging has finished


how to enable this in opensuse?

Traditionally, this sort of debug output used to show up in “.xsession-errors” (or similar). But lately, some of the desktops have been redirecting this to logs. Maybe it shows up in the output of “journalctl -b”.

I remember there have been questions about changes in Qt Creator debugging…
Recommend searching these Forums for those posts.

TSU

ahh you are right, the output shows in journalctl
thanks for your reply I found solution only need to add “QT_LOGGING_TO_CONSOLE=1” on env variable

sorry for create new thread about same problem i didnt mean that

thank you for the reply btw