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

Static build with Qt quick using QBS is unable to find static plugin

    XMLWordPrintable

Details

    • b60004ea8ae2e0717e6fab2f40bfe90bac7cf6b7, 0eb78ba6c43288a85d056fd6264bfb23c6202cfc

    Description

      When linking QtQuick application with static version of Qt using QBS it is unable to find the plugin.

      Depends { name: "Qt.qtquick2plugin"; condition: Qt.core.staticBuild
      
      

      This gives error:
      undefined reference to `qt_static_plugin_QtQuick2Plugin()

      This works when Qmake is used but not with Qbs.
      Attached is build Log

      Attachments

        1. AppAndLibExample.tar.gz
          6 kB
        2. Buildlog.txt
          3 kB
        3. Dummy.qml
          0.1 kB
        4. QtQuickControls2Static.pro
          1 kB
        5. QtQuickControls2Static.tar.gz
          1 kB
        6. simplemain.qml
          0.3 kB

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              irfan.omair@digia.com Irfan Omair
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes