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

Target-based qt6_add_resources doesn't handle -binary option like qt6_add_binary_resources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.0
    • Build System: CMake

    Description

      Resulted from public CMake API discussion at https://codereview.qt-project.org/c/qt/qtbase/+/317353/1/src/corelib/Qt6CoreMacros.cmake#309

      Users might want to create standalone compiled resource files that are loaded at runtime via the QResource API, and not link the resource files directly to the application.

      Currently the new target-based qt6_add_resources function does not allow doing that.

      Investigate how we could do that.

      Attachments

        Issue Links

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

          Activity

            People

              semlanik Alexey Edelev
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes