Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
2.4.0
-
None
Description
If a source file holds
#if false class foo { Q_OBJECT }; #endif
then the file gets recognized as MOC-type file and changes the compilation type whenever the file is saved to disk?! Aparently even then the Q_OBJECT needs to be commented out extra..
Could not test with any newer plugin version as none of them works with VS2019.
Attachments
Issue Links
- relates to
-
QTVSADDINBUG-905 Support additional moc macros
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTVSADDINBUG-855 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
540972,1 | WIP: Run preprocessor on file | dev | qt-labs/vstools | Status: NEW | -2 | 0 |
541396,3 | WIP: Basic preprocessor | dev | qt-labs/vstools | Status: NEW | -2 | 0 |