The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15644 ====================================================================== Reported By: Lectem Assigned To: ====================================================================== Project: CMake Issue ID: 15644 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-07-09 08:08 EDT Last Modified: 2015-07-09 08:08 EDT ====================================================================== Summary: AUTORCC not generating files 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. 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> ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-07-09 08:08 Lectem New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers