MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0015644 | CMake | CMake | public | 2015-07-09 08:08 | 2016-03-07 09:12 | ||||||||||
Reporter | Lectem | ||||||||||||||
Assigned To | Brad King | ||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||||
Status | closed | Resolution | fixed | ||||||||||||
Platform | OS | Debian | OS Version | ||||||||||||
Product Version | CMake 3.2.3 | ||||||||||||||
Target Version | CMake 3.5 | Fixed in Version | CMake 3.5 | ||||||||||||
Summary | 0015644: AUTORCC not generating files with Qt 5.1 | ||||||||||||||
Description | AUTORCC is not generating the qrc_*.cpp files, rcc isn't even called. I suspect the problem coming from the fact that I'm getting an error while configuring the project : /usr/lib/x86_64-linux-gnu/qt5/bin/rcc: Unknown option: '--list' It is coming from this line : https://github.com/Kitware/CMake/blob/master/Source/cmQtAutoGenerators.cxx#L193 [^] I don't understand what the script is trying to do since --list isn't available for qt4 nor qt5. The resources are present, with the correct path. It is working when using QT5_ADD_RESOURCES. | ||||||||||||||
Steps To Reproduce | |||||||||||||||
Additional Information | CMakeLists.txt : set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) find_package(Qt5Core REQUIRED) find_package(Qt5Widgets REQUIRED) find_package(Qt5LinguistTools REQUIRED) find_package(Qt5Multimedia REQUIRED) add_executable(myexe main.cpp resource_file.qrc) resource_file.qrc : <!DOCTYPE RCC><RCC version="1.0"> <qresource> <file>images/copy.png</file> <file>images/cut.png</file> <file>images/new.png</file> <file>images/open.png</file> <file>images/paste.png</file> <file>images/save.png</file> </qresource> </RCC> | ||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2015-07-09 08:08 | Lectem | New Issue | |||||||||||||
2015-07-09 08:57 | Brad King | Note Added: 0039104 | |||||||||||||
2015-07-09 11:42 | Lectem | Note Added: 0039108 | |||||||||||||
2015-07-09 11:42 | Lectem | Note Edited: 0039108 | bug_revision_view_page.php?bugnote_id=39108#r1841 | ||||||||||||
2015-07-09 11:50 | Brad King | Relationship added | related to 0015074 | ||||||||||||
2015-07-09 11:50 | Brad King | Relationship added | related to 0015523 | ||||||||||||
2015-07-09 12:49 | Brad King | Note Added: 0039109 | |||||||||||||
2015-07-09 12:50 | Brad King | Note Added: 0039110 | |||||||||||||
2015-07-10 05:31 | Lectem | Note Added: 0039120 | |||||||||||||
2015-07-10 08:47 | Brad King | Note Added: 0039121 | |||||||||||||
2015-07-10 08:47 | Brad King | Assigned To | => Brad King | ||||||||||||
2015-07-10 08:47 | Brad King | Status | new => resolved | ||||||||||||
2015-07-10 08:47 | Brad King | Resolution | open => fixed | ||||||||||||
2015-07-10 08:47 | Brad King | Fixed in Version | => CMake 3.3 | ||||||||||||
2015-07-10 08:47 | Brad King | Target Version | => CMake 3.3 | ||||||||||||
2015-07-10 08:47 | Brad King | Summary | AUTORCC not generating files => AUTORCC not generating files with Qt 5.1 | ||||||||||||
2015-07-11 04:44 | Stephen Kelly | Note Added: 0039124 | |||||||||||||
2015-07-13 08:58 | Brad King | Note Added: 0039130 | |||||||||||||
2015-07-13 08:58 | Brad King | Assigned To | Brad King => Stephen Kelly | ||||||||||||
2015-07-13 08:58 | Brad King | Status | resolved => assigned | ||||||||||||
2015-07-13 08:58 | Brad King | Resolution | fixed => open | ||||||||||||
2015-07-13 08:58 | Brad King | Fixed in Version | CMake 3.3 => | ||||||||||||
2015-07-13 08:58 | Brad King | Target Version | CMake 3.3 => CMake 3.4 | ||||||||||||
2015-08-03 13:30 | Brad King | Note Added: 0039224 | |||||||||||||
2015-08-03 13:30 | Brad King | Assigned To | Stephen Kelly => | ||||||||||||
2015-08-03 13:30 | Brad King | Status | assigned => resolved | ||||||||||||
2015-08-03 13:30 | Brad King | Resolution | open => fixed | ||||||||||||
2015-08-03 13:30 | Brad King | Fixed in Version | => CMake 3.4 | ||||||||||||
2015-10-29 09:12 | Brad King | Note Added: 0039702 | |||||||||||||
2015-10-29 09:12 | Brad King | Assigned To | => Brad King | ||||||||||||
2015-10-29 09:12 | Brad King | Fixed in Version | CMake 3.4 => CMake 3.5 | ||||||||||||
2015-10-29 09:12 | Brad King | Target Version | CMake 3.4 => CMake 3.5 | ||||||||||||
2016-03-07 09:12 | Robert Maynard | Note Added: 0040632 | |||||||||||||
2016-03-07 09:12 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|