Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.6.1
-
None
-
f7efefb6d4 (qt-creator/qt-creator/master) f7efefb6d4 (qt-creator/qt-creator/qds-dev) f7efefb6d4 (qt-creator/qt-creator/9.0)
Description
Add support for defining custom macros for Clang Code Model. Using custom project manager enables this using projectname.config file but CMake and QMake projects lack this functionality. When using Qt Creator's own code model Qt Creators shows a # button for defining custom macros. This will help correctly parsing the code in large projects like KDE. Please make this functionality also available for Clang Code Model.
Thanks
Edit: fixed core model -> code model
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-23345 QtCreator ignores additional preprocessor directives
- Closed