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. use of undeclared identifier 'qDebug '
Forum Updated to NodeBB v4.3 + New Features

use of undeclared identifier 'qDebug '

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 455 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.
  • O Offline
    O Offline
    ofmrew
    wrote on last edited by
    #1

    Error caused by: qDeBug() << "Starting";
    Includes:
    #include <QDebug>
    #include <QtDebug> Documentation uses Both!
    Using Win 11, Qt6 (was installed on Win10) other changes
    .pro has:
    QT += core gui
    MAKE_CXXFLAGS += -mavx512f -march=native

    I tested qDebug on other program created before the upgrade, but rebuilt after and they worked OK. Also, the intrinsics in the program did not create and error, but I was going to use qDebug to check my results.

    I saw other posts about this problem, but none of the conditions matched mine. What else can I provide?

    1 Reply Last reply
    0
    • HoMaH Offline
      HoMaH Offline
      HoMa
      wrote on last edited by
      #2

      maybe the upper case B?

      1 Reply Last reply
      1
      • O Offline
        O Offline
        ofmrew
        wrote on last edited by
        #3

        Thanks. I could have looked at that for ever and not seen the problem.

        1 Reply Last reply
        1
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Why do you ask the same question every week (and deleting the old topic afterwards)?

          https://forum.qt.io/topic/133112/qdebug-compile-problem

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          1

          • Login

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