Details
-
Bug
-
Resolution: Duplicate
-
P4: Low
-
None
-
Qt Creator 2.7.1, Qt Creator 3.0.0-rc1
-
None
Description
To reproduce, paste this perfectly valid code into a C++ file that doesn't use any QT includes:
struct Hello { int slots; };
QT Creator will underline this in a red color, because it thinks that "slots" is supposed to be QT MOC code, but it's not. The code doesn't include QT anywhere.
QT Creator is a great IDE even for people who don't use QT, so this should be fixed.
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-8007 Using signals/slots as a variable name breaks parser
-
- Closed
-
- relates to
-
QTCREATORBUG-8007 Using signals/slots as a variable name breaks parser
-
- Closed
-