Trying to build Dooble, and now a simple hello world,
#include <QTextStream>
int main() {
QTextStream(stdout) << "Hello, world!" << endl;
return 0;
}
I keep getting this error with Qt6's qmake,
[H:\hello]qmake -project
L:/QT6/mkspecs/features/toolchain.prf:76: Variable QMAKE_CXX.COMPILER_MACROS is
not defined.
Project ERROR: failed to parse default search paths from compiler output
Very similar error with Dooble. Googling shows it is a somewhat common problem on Windows but no simple solution, at least at the cmd line.
Builds fine with qmake-qt5, same with Dooble though I forgot how to work around the munlock issue and simply removed a define.