Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1692

Build with statically linked Qt 6 cannot find qrc_qmake*.cpp.o files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 1.22.1
    • 1.21
    • API: JavaScript
    • None
    • iOS/tvOS/watchOS, macOS

    Description

      When building our iOS app with the static Qt 6 build I got the following error:

      clang: error: no such file or directory: '$$[QT_INSTALL_PREFIX]/./qml/QtQml/objects-Release/Qml_resources_1/.rcc/qrc_qmake_QtQml.cpp.o'
      

      And a bunch more for different modules.

      Some investigating showed that this is caused by the install prefix not being properly replaced in the plugins.list file generated by the qml.qbs module.

      However, simply fixing this tag replacement caused a different kind of error: I got lot's of "duplicate symbols" because those object files are listed both in the plugins.list and in the staticLibs property since they're both taken straight from the .prl file. I don't know which version would be correct here.
       

      Attachments

        For Gerrit Dashboard: QBS-1692
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            lbuckel Leon Buckel
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes