MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015254 | CMake | CMake | public | 2014-11-17 15:11 | 2016-06-10 14:31 |
| Reporter | Jonnhy Fisher | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake 3.0.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015254: AUTOMOC ignores Q_OBJECT if preceded by non-whitespace characters | ||||
| Description | A header file like class A : public QObject { Q_OBJECT }; or class A : public QObject { /* */ Q_OBJECT }; with CMAKE_AUTOMOC will actually not run moc on that file, while class A : public QObject { Q_OBJECT; }; will run moc. Apparently there may only be whitespace in front of Q_OBJECT to trigger automoc. This is not documented and kind of surprising. | ||||
| Steps To Reproduce | enable AUTOMOC put a some none-whitespace before Q_OBJECT | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-11-17 15:11 | Jonnhy Fisher | New Issue | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042669 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||