MantisBT - CMake
View Issue Details
0015751CMakeCMakepublic2015-09-18 09:372016-06-10 14:31
Dmitriy V. Shmykov 
Kitware Robot 
normalminoralways
closedmoved 
Mac OS XMac OS X10.10
CMake 3.3 
 
0015751: cmake Qt moc files' autogen failed with Q_OBJECT in source code comments
When I compile my source code which contains the text "Q_OBJECT" in C++ comments cmake fails with the error text "AUTOGEN: error: <file>.cpp: The file contains a Q_OBJECT macro, but does not include <file>.moc"
create a project with

set(CMAKE_AUTOMOC ON)

and C++ source code file containing comments with "Q_OBJECT" substring.
No tags attached.
Issue History
2015-09-18 09:37Dmitriy V. ShmykovNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042842
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042842)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.