# Qt Creator predefined macro file

• 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. QMAKE_CXXFLAGS has no effect on code completion.

• Hi and welcome to devnet,

I'd recommend posting this question to the Qt Creator mailing list. You'll find there Qt Creator developers/maintainers. This forum is more user oriented.