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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.3.2
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Commits:
      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

        For Gerrit Dashboard: QTBUG-41728
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            steveire Stephen Kelly (Personal)
            Reporter:
            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