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

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 1.21
    • Fix Version/s: 1.22.1
    • Component/s: API: JavaScript
    • Labels:
      None
    • Platform/s:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            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