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

cmake: Add support for "External Binary Resource" in qt5_add_resources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • None
    • 5.3.2
    • Other
    • None
    • 2af127763194c13c3f7ccce507c94eb2de6dbefe

    Description

      Qt5 supports external binary resources (.rcc) but the cmake function qt5_add_resources cannot create it.

      We tried it with the following command:
      qt5_add_resources(QRC_FIXTURE "fixture.qrc" OPTIONS "--binary")

      But it won't create any file. I looked into the sources and it seems that it will create a qrc_XXX.cpp everytime. But that should be a .rcc file with given "--binary" option.

      So it would be a helpful feature if qt5_add_resources would support .rcc files.

      Attachments

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

        Activity

          People

            steveire Stephen Kelly (Personal)
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes