Run Qt 5.3 on QNX 6.6
-
Thanks stuk. I set QT_DEBUG_PLUGINS=1 and output is below.
36: Found metadata in lib /opt/qt5/plugins/platforms/libqqnx.so, metadata= ...
...
51: loaded library "/opt/qt5/plugins/platforms/libqqnx.so"
52: QLibraryPrivate::loadPlugin failed on "/opt/qt5/plugins/platforms/libqqnx.so" : "Cannot load library /opt/qt5/plugins/platforms/libqqnx.so: (Library cannot be found)"As output message, looks like some modules found libqqnx.so but QLibraryPrivate didn't.
I'll post additional info if I figure out more about that.
Any help would be appreciated.<Full output log>
@QFactoryLoader::QFactoryLoader() checking directory path "/root/qt5test/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/opt/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/qt5/plugins/platforms/libqminimal.so"
Found metadata in lib /opt/qt5/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
"MetaData": {
"Keys": [
"minimal"
]
},
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 328449
}Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/opt/qt5/plugins/platforms/libqoffscreen.so"
Found metadata in lib /opt/qt5/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
"MetaData": {
"Keys": [
"offscreen"
]
},
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 328449
}Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/opt/qt5/plugins/platforms/libqqnx.so"
Found metadata in lib /opt/qt5/plugins/platforms/libqqnx.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2",
"MetaData": {
"Keys": [
"qnx"
]
},
"className": "QQnxIntegrationPlugin",
"debug": false,
"version": 328449
}Got keys from plugin meta data ("qnx")
loaded library "/opt/qt5/plugins/platforms/libqqnx.so"
QLibraryPrivate::loadPlugin failed on "/opt/qt5/plugins/platforms/libqqnx.so" : "Cannot load library /opt/qt5/plugins/platforms/libqqnx.so: (Library cannot be found)"
This application failed to start because it could not find or load the Qt platform plugin "qnx".Available platform plugins are: minimal, offscreen, qnx.
Reinstalling the application may fix this problem.
Abort@ -
Yes, as I wrote at first post, that directory contains these three files.
@ libqminimal.so
libqoffscreen.so
libqqnx.so@And output said also
Found metadata in lib /opt/qt5/plugins/platforms/libqqnx.so ...
loaded library "/opt/qt5/plugins/platforms/libqqnx.so"I'm so curious why only QLibraryPrivate::loadPlugin failed to load.
-
I use Qt Enterprise.
Built binaries are provided for enterprise customer from Digia.In my first post,
- Install qt on Ubuntu 12.04 via qt-enterprise-linux-x86-qnx-5.3.1.run downloaded from Qt digia website.
That's the one contains pre-built binaries for qnx target.
After install that <QT_INSTALL_PATH>/5.3/qnx6-x86/plugins/platforms has those files.BTW, you may ask why don't I ask to Digia, but they are on summer vacation and I'm urgent. :) And I posted this to Digia too.
-
Ok, it seems to be a bug. See here: https://bugreports.qt.io/browse/QTBUG-44476
-
Ok, it seems to be a bug. See here: https://bugreports.qt.io/browse/QTBUG-44476
-
This post is deleted!