Description
Sometimes, a user might want to wrap Qt marcos like Q_OBJECT into their own. In those cases, moc won't run on the file, as the custom macro is not recognized.
In cmake, we can set AUTOMOC_MACRO_NAMES to specify that moc should run automatically on files containing any of the listed macros there. It might make sense to add such a feature to the Add-In, too.
Attachments
Issue Links
- relates to
-
QTVSADDINBUG-855 Q_OBJECT inside a "#if false/#endif" block
- In Progress
For Gerrit Dashboard: QTVSADDINBUG-905 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
555358,5 | Add support for user-defined MOC macros | dev | qt-labs/vstools | Status: MERGED | +2 | 0 |