Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 RC
-
None
-
-
31610bf8c08f1fe26d7af391b9eae972c1f21e6e (qt/qt5/6.2) 420adf322a71aee5035cb6ae075e11afcee1fe3c (qt/tqtc-qt5/tqtc/dev_AndroidAutomotive)
Description
The following example
# CMakeLists.txt cmake_minimum_required(VERSION 3.16) project(blubb) find_package(Qt6 COMPONENTS Core Gui) add_executable(blubb main.cpp) target_link_libraries(blubb PRIVATE Qt6::Core) target_link_libraries(blubb PRIVATE Qt6::Gui)
// main.cpp #include <qcoreapplication.h> int main(int argc, char **argv) { QCoreApplication app(argc, argv); return app.exec(); }
fails on QNX 7.1 x86_64 with
: && /opt/qnx710/host/linux/x86_64/usr/bin/q++ -Vgcc_ntox86_64 -Wc,-isysroot,/opt/qnx710/target/qnx7 -lang[155/1892] keFiles/blubb.dir/main.cpp.o -o blubb -Wl,-rpath,/home/qt/work/install/target/lib /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 /home/qt/work/install/target/lib/libQt6Core.so.6.3.0 /opt/qnx710/target/qnx7/x86_64/usr/lib/li bGLESv2.so /opt/qnx710/target/qnx7/x86_64/usr/lib/libEGL.so && : /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: warning: libQt6DBus.so.6, needed by /home/qt/work/i nstall/target/lib/libQt6Gui.so.6.3.0, not found (try using -rpath or -rpath-link) /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusConnection::QDBusConnection(QDBusConnection const&)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusError::type() const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusArgument::endStructure()@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusArgument::operator>>(int&) const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusConnection::interface() const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `qDBusReplyFill(QDBusMessage const&, QDBusError&, QVariant&)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusArgument::QDBusArgument()@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `typeinfo for QDBusAbstractAdaptor@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusAbstractAdaptor::QDBusAbstractAdaptor(QObject*)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusMessage::arguments() const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusAbstractInterface::QDBusAbstractInterface(QString const&, QString const&, char const* , QDBusConnection const&, QObject*)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusConnection::call(QDBusMessage const&, QDBus::CallMode, int) const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusError::message() const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusServiceWatcher::serviceRegistered(QString const&)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusError::QDBusError()@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusAbstractInterface::qt_metacast(char const*)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusArgument::beginStructure() const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusConnection::unregisterObject(QString const&, QDBusConnection::UnregisterMode)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusMetaType::registerMarshallOperators(QMetaType, void (*)(QDBusArgument&, void const*), void (*)(QDBusArgument const&, void*))@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusArgument::endMapEntry()@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusArgument::endStructure() const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusConnection::baseService() const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusError::QDBusError(QDBusError const&)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusError::operator=(QDBusError const&)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusAbstractInterface::qt_metacall(QMetaObject::Call, int, void**)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusConnection::isConnected() const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusMessage::setArguments(QList<QVariant> const&)@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusArgument::endMap() const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 : undefined reference to `QDBusArgument::operator>>(QDBusObjectPath&) const@Qt_6' /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Gui.so.6.3.0 ...
Attachments
Issue Links
- duplicates
-
QTBUG-86533 Yocto and QNX builds are missing -rpath-link linker flag which causes non-prefix builds to fail
- Closed
- relates to
-
QTQAINFRA-4581 Move QNX 'qnx-toolchain-xyz.cmake' files out of qnx-toolchains.tar.xz into qt5.git's provisioning as regular files under git
- Closed