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

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      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

              Assignee:
              semlanik Alexey Edelev
              Reporter:
              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