Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80061

qDebug to Qt Creator console don't work with Android deployment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.13.2
    • Extras: Android
    • None
    • Qt Creator 4.10.1, Qt 5.13.2, Windows 10.
    • Android, Windows

    Description

      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.

      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. Desktop works fine.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              alexeymoiseev Alexey Moiseev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes