Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.7.2, 6.8.0 Beta1
-
9fe100e27 (dev), 16f49f6a1 (dev), 1c633d68b (6.8), bc4459ee3 (6.8)
Description
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:
Attachments
Issue Links
- relates to
-
QTBUG-86533 Yocto and QNX builds are missing -rpath-link linker flag which causes non-prefix builds to fail
- Closed
-
QTBUG-99298 File issue to CMake bug tracker regarding transitive dependencies not being considered for rpath-link generation
- Reported
For Gerrit Dashboard: QTBUG-126727 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
573555,3 | CMake: Write link dependencies into AdditionalTargetInfo.cmake file | dev | qt/qtbase | Status: MERGED | +2 | 0 |
573581,2 | CMake: Add IMPORTED_LINK_DEPENDENT_LIBRARIES for versionless targets | dev | qt/qtbase | Status: MERGED | +2 | 0 |
573619,2 | CMake: Write link dependencies into AdditionalTargetInfo.cmake file | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
573620,2 | CMake: Add IMPORTED_LINK_DEPENDENT_LIBRARIES for versionless targets | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |