Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.3, 6.0, 6.1, 6.2
-
None
Description
As mentioned in the linked bugs, moc will run into issues parsing headers if __cplusplus has the wrong value. Working around those bugs in moc might be possible, but ends up becoming a whack-a-mole game, and might lead to strange bugs if the compilation doesn't actually fail but we read a wrong value instead.
Attachments
Issue Links
- relates to
-
QTBUG-110847 Teach CMake AUTOMOC to use a target's CXX language version for the generation of moc predefines file
- Closed
-
QTBUG-83160 moc stumbles on _GLIBCXX_VISIBILITY
- Reported
- resulted from
-
QTBUG-73263 Qmake fails to generate moc file when using std::filesystem library
- Open