[cmake-developers] [CMake 0015751]: cmake Qt moc files' autogen failed with Q_OBJECT in source code comments
Mantis Bug Tracker
mantis at public.kitware.com
Fri Sep 18 09:37:36 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15751
======================================================================
Reported By: Dmitriy V. Shmykov
Assigned To:
======================================================================
Project: CMake
Issue ID: 15751
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-09-18 09:37 EDT
Last Modified: 2015-09-18 09:37 EDT
======================================================================
Summary: 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-09-18 09:37 Dmitriy V. ShmykovNew Issue
======================================================================
More information about the cmake-developers
mailing list