Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.3.1
Description
Since CMake knows about large resources (especially in the light of the QTBUG-104320 now being fixed), it should also generate the resource initialization for them automatically (for QML Modules especially) along with the other automatically generated ones (e.g. as found in file names like qrc_myModule_raw_qml_0.cpp).
Otherwise you also have to Q_INIT_RESOURCE(qml) somewhere, most probably in the plugin constructor - which can lead to the ONLY reason to not allow CMake to generate your plugin class for you. At the moment this isn't happening so you would have to do this yourself which goes against the idea that CMake is doing most of the work for you.
Attachments
Issue Links
- is duplicated by
-
QTBUG-99733 Automatically register qt_add_big_resources for static libraries
- Closed
- relates to
-
QTBUG-110629 Support "big resources" in qt_add_qml_module()
- Reported