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

Resources are lost when linking static libraries using CMake build system in a separate project

    XMLWordPrintable

Details

    • ce8874fc3 (dev), 47b879aa0 (dev), ba3cc0a09 (dev)

    Description

      Consider the attached example. The user is trying to link a number of static libraries that formally contain Qt resources into an application. When doing this via the CMake build system, the resources are lost as they reside in separate object libraries that you cannot link this way.

      How did this work in qmake?

      Attachments

        1. test-project-with-shared-libs_updated.zip
          111 kB
          Alexandru Croitor
        2. test-project-with-shared-libs.zip
          15 kB
          Ulf Hermann

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              ulherman Ulf Hermann
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes