Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104451

Auto initialize large resources

    XMLWordPrintable

    Details

      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              tuomas.vaarala Tuomas Vaarala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes