Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

qDebug to Qt Creator console don't work



  • Hello.
    I am trying to output a message through qDebug and std::cerr to the Qt Creator console from Android application, but no messages are output.
    Qt Creator 4.10.1, Qt 5.13.2, Windows 10.
    What i tried:

    1. QT_LOGGING_TO_CONSOLE=1 to Options/Kits/Environment.
    2. Made qtlogging.ini
      [Rules]
      *.debug=true
    3. config += console in .pro
    4. DEFINES -= QT_NO_WARNING_OUTPUT QT_NO_DEBUG_OUTPUT
    5. QT_ASSUME_STDERR_HAS_CONSOLE=1
    6. Write my own qInstallMessageHandler.
    7. <application android:debuggable="true">

    The only line I see is that my app was died, but works fine in phone.


Log in to reply