Hi, Our project has a predefined macro file that is given to the compiler (GCC/Clang) with the -imacros flag. It contains the platform specific macros so it is a complicated and long file. Can I specify a predefined macro file in Qt Creator because without it the code completion fails? I know that I can specify my macros in the DEFINES section of the .pro file but we have them in a standalone file. It is not possible to move them into the .pro file because other colleagues use Eclipse. Adding -imacros in QMAKE_CXXFLAGS has no effect on code completion. In Eclipse you can set it on this screen: http://imgur.com/a/AVFMO Is there a similar setting in Qt Creator?
Adam
_______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator