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

[QNX 7.1, Qt 6.7.2] Linking errors when building graphs and quickcontrols examples with installed QNX binary

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • None
    • 6.7.2, 6.8.0 Beta1
    • Device Creation
    • 9fe100e27 (dev), 16f49f6a1 (dev), 1c633d68b (6.8), bc4459ee3 (6.8)

      When building graphs and quickcontrols applications for QNX 7.1 (Qt 6.7.2) the applications fails to build in the linking phase:

       [26/26] Linking CXX executable bars
      FAILED: bars 
      : && /opt/qnx710/host/linux/x86_64/usr/bin/q++ -Vgcc_ntoaarch64le -Wc,-isysroot,/opt/qnx710/target/qnx7 -lang-c++   CMakeFiles/bars.dir/bars_autogen/mocs_compilation.cpp.o CMakeFiles/bars.dir/main.cpp.o CMakeFiles/bars.dir/bars_qmltyperegistrations.cpp.o CMakeFiles/bars.dir/.qt/rcc/qrc_qmake_Bars.cpp.o CMakeFiles/bars.dir/.qt/rcc/qrc_qmake_Bars_copy.cpp.o CMakeFiles/bars.dir/.rcc/qmlcache/bars_qmlcache_loader.cpp.o CMakeFiles/bars.dir/.rcc/qmlcache/bars_qml/bars/Axes_qml.cpp.o CMakeFiles/bars.dir/.rcc/qmlcache/bars_qml/bars/Data_qml.cpp.o CMakeFiles/bars.dir/.rcc/qmlcache/bars_qml/bars/main_qml.cpp.o CMakeFiles/bars.dir/.qt/rcc/qrc_bars_raw_qml_0.cpp.o -o bars  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Quick3D.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Quick3DRuntimeRender.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Quick3DUtils.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6ShaderTools.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6QuickWidgets.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Quick.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6QmlModels.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6OpenGL.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Widgets.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Gui.so.6.7.2  /opt/qnx710/target/qnx7/aarch64le/usr/lib/libGLESv2.so  /opt/qnx710/target/qnx7/aarch64le/usr/lib/libEGL.so  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Qml.so.6.7.2  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Network.so.6.7.2  -lsocket  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6QmlBuiltins.a  /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Core.so.6.7.2 && :
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: warning: libQt6QuickShapes.so.6, needed by /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2, not found (try using -rpath or -rpath-link)
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2: undefined reference to `QQuickShapePath::QQuickShapePath(QObject*)@Qt_6_PRIVATE_API'
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2: undefined reference to `QQuickShape::data()@Qt_6_PRIVATE_API'
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2: undefined reference to `QQuickShape::setPreferredRendererType(QQuickShape::RendererType)@Qt_6_PRIVATE_API'
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2: undefined reference to `QQuickShapePath::setFillColor(QColor const&)@Qt_6_PRIVATE_API'
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2: undefined reference to `QQuickShape::~QQuickShape()@Qt_6_PRIVATE_API'
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2: undefined reference to `QQuickShapePath::setStrokeWidth(double)@Qt_6_PRIVATE_API'
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2: undefined reference to `QQuickShapePath::setStrokeColor(QColor const&)@Qt_6_PRIVATE_API'
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2: undefined reference to `QQuickShapePath::setCapStyle(QQuickShapePath::CapStyle)@Qt_6_PRIVATE_API'
      /opt/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld: /home/qt/RTA/Qt_6.7.2/6.7.2/qnx71_aarch64le/lib/libQt6Graphs.so.6.7.2: undefined reference to `QQuickShape::QQuickShape(QQuickItem*)@Qt_6_PRIVATE_API'
      ninja: build stopped: subcommand failed.

      The failing example applications are:

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

            alexandru.croitor Alexandru Croitor
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: