Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. qDebug to Qt Creator console don't work
Forum Updated to NodeBB v4.3 + New Features

qDebug to Qt Creator console don't work

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 394 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alexey Moiseev
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved