Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
How to check in C++ code, if there is added in project file required module, I mean: @ #if QT_MODULE_ADDED(Gui) #include <QtGui> #endif @
Exists similar macro?
If you compile with qmake, the macros: QT_CORE_LIB, QT_GUI_LIB, QT_NETWORK_LIB... are defined for each module you put in the QT variable in your .pro file.
Yes, that works.
But, there is else way (I found it through IntelliSense): QT_MODULE_GUI? QT_MODULE_CORE?