[SOLVED]Qt - check module availability in code
How to check in C++ code, if there is added in project file required module, I mean:
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?