View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0015751 | CMake | CMake | public | 2015-09-18 09:37 | 2016-06-10 14:31 |
|
Reporter | Dmitriy V. Shmykov | |
Assigned To | Kitware Robot | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | |
Platform | Mac OS X | OS | Mac OS X | OS Version | 10.10 |
Product Version | CMake 3.3 | |
Target Version | | Fixed in Version | | |
|
Summary | 0015751: cmake Qt moc files' autogen failed with Q_OBJECT in source code comments |
Description | 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" |
Steps To Reproduce | create a project with
set(CMAKE_AUTOMOC ON)
and C++ source code file containing comments with "Q_OBJECT" substring. |
Tags | No tags attached. |
|
Attached Files | |
|