use of undeclared identifier 'qDebug '
Solved
General and Desktop
-
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=nativeI 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?
-
Why do you ask the same question every week (and deleting the old topic afterwards)?