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

Linking application with static Qt version built with -qtnamespace fails when using QtLocation or QtPositioning in qml

    XMLWordPrintable

Details

    • Linux/X11, Linux/Other display system

    Description

      Static linking with QtLocation and QtPositioning worked fine using Qbs 1.12.x, but using Qbs 1.13.0, the linking of the attached example application reports

        

      ...../qbs-location.05c772c0/qml_plugin_import.cpp:4: error: undefined reference to 'qt_static_plugin_QtLocationDeclarativeModule()'
      ...../qbs-location.05c772c0/qml_plugin_import.cpp:5: error: undefined reference to 'qt_static_plugin_QtPositioningDeclarativeModule()'

      It works fine as expected using dynamic linking.

      To reproduce, build Qt 1.12.3 (or similar) statically and configure with a namespace (./configure -static -qtnamespace <somens>) and use as Qt version for the build.

       

      Attachments

        Activity

          People

            kandeler Christian Kandeler
            olathorsen Ola Røer Thorsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: