QT_CONFIG undefined error
Solved
Mobile and Embedded
-
I now compile a source code using the QT_CONFIG by the cross compiler(qt4.8.5).
#if defined(QT_PRINTSUPPORT_LIB) && QT_CONFIG(printdialog) QPrinter printer(QPrinter::HighResolution);
The compile error occurred like the below error message.
function-like macro 'QT_CONFIG' is not defined
I can't find the QT_CONFIG definition in the include files of the QT4.8.5.
Maybe above code could be created on the base of the QT5 version.How could I resolve this problem?
Thanks.
-
Hi,
What exactly are you trying to compile ?
Qt 4.8.5 is not a cross-compiler by the way. -