Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Qt 5.3 build from Qnx : unable to run: Page 1 of 11 (11 Items)
   
Qt 5.3 build from Qnx : unable to run  
Hello, 

I was working with a personnal compilation of Qt 5.3.
Then I tried Qnx's compilation... impossible to run my application (called Screen) on my imx6 board:
This application failed to start because it could not find or load the Qt platform plugin "qnx".

Here is the output of the console using QT_DEBUG_PLUGINS = 1

-----ONLINE-----
QFactoryLoader::QFactoryLoader() checking directory path "/mnt/sdhc/graphics/opt/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqminimal.so"
Found metadata in lib /mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqminimal.so, metadata=
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqoffscreen.so"
Found metadata in lib /mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqoffscreen.so, metadata=
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqqnx.so"
Found metadata in lib /mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqqnx.so, metadata=
Got keys from plugin meta data ("qnx")
QFactoryLoader::QFactoryLoader() checking directory path "/dev/shmem" ...
QFactoryLoader::QFactoryLoader() looking at "/dev/shmem/inetd.pid"
QElfParser: '/dev/shmem/inetd.pid' is not an ELF object (file too small)
"'/dev/shmem/inetd.pid' is not an ELF object (file too small)"
not a plugin
QFactoryLoader::QFactoryLoader() looking at "/dev/shmem/Screen"
"Plugin verification data mismatch in '/dev/shmem/Screen'"
not a plugin
QFactoryLoader::QFactoryLoader() checking directory path "/mnt/sdhc/graphics/opt/qt5/plugins" ...
loaded library "/mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqqnx.so"
QLibraryPrivate::loadPlugin failed on "/mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqqnx.so" : "Cannot load library /
mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqqnx.so: (Library cannot be found)"
QFactoryLoader::QFactoryLoader() checking directory path "/mnt/sdhc/graphics/opt/qt5/plugins/platforms/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/dev/shmem/platforms" ...
QFactoryLoader::QFactoryLoader() checking directory path "/mnt/sdhc/graphics/opt/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqminimal.so"
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqoffscreen.so"
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqqnx.so"
"Cannot load library /mnt/sdhc/graphics/opt/qt5/plugins/platforms/libqqnx.so: (Library cannot be found)"
not a plugin
This application failed to start because it could not find or load the Qt platform plugin "qnx".
Abort (core dumped) 
Application finished with exit code 134.

Any ideas ?
Regards,

Paul