-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Problem:
Currently adding resource files to a project does not guarantee that the resource files are processed. For example:
qt_add_executable(res_test main.cpp res.qrc )
would easily give the impression that the resource collection file has now been added to the project and that's all that needs to be done but without enabling AUTORCC nothing happens.
This same problem exists with other cmake funcs such as qt_add_qml_module too.
In these cases it is not obvious to the user why the resources aren't available in their projects.
Suggestion:
Add clear warnings when user passes qrc files into qt specific functions in their CMakeLists.txt but RCC would not be run on the qrc file.