Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qDebug() is not showing output in QT 5.12.1
Forum Updated to NodeBB v4.3 + New Features

qDebug() is not showing output in QT 5.12.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 798 Views
  • 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
    Aminul
    wrote on last edited by Aminul
    #1

    hi,
    I was using QT 4.8.7 and qDebug was showing log properly.

    When I updated my version to QT 5.12.1 everything is wokring except qDebug(). Now, qDebug() is not showing anything in QT 5.12.1

    I created a new console project with QT 5.12.1 version, I can see that no log is printed. However, if I use qInfo(), I can see logs.

    Can you please tell mw why qDebug() is not working ?

    I am using Ubuntu 17.04

    jsulmJ 1 Reply Last reply
    0
    • A Aminul

      hi,
      I was using QT 4.8.7 and qDebug was showing log properly.

      When I updated my version to QT 5.12.1 everything is wokring except qDebug(). Now, qDebug() is not showing anything in QT 5.12.1

      I created a new console project with QT 5.12.1 version, I can see that no log is printed. However, if I use qInfo(), I can see logs.

      Can you please tell mw why qDebug() is not working ?

      I am using Ubuntu 17.04

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Aminul Do you test debug build of your app?
      Is QT_NO_DEBUG_OUTPUT set in your pro file?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Aminul
        wrote on last edited by
        #3

        hi Jsulm,
        QT_NO_DEBUG_OUTPUT is not set in the .pro file.
        It seems many people are facing similar issues in Linux or Windows.

        aha_1980A 1 Reply Last reply
        0
        • A Aminul

          hi Jsulm,
          QT_NO_DEBUG_OUTPUT is not set in the .pro file.
          It seems many people are facing similar issues in Linux or Windows.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Aminul Some Linux distributions redirect debug output, so there are several possibilities what can go wrong.

          How did you install Qt 5.12? With the online installer?

          Qt has to stay free or it will die.

          A 1 Reply Last reply
          0
          • aha_1980A aha_1980

            @Aminul Some Linux distributions redirect debug output, so there are several possibilities what can go wrong.

            How did you install Qt 5.12? With the online installer?

            A Offline
            A Offline
            Aminul
            wrote on last edited by
            #5

            @aha_1980 yes online installer.

            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