[Releasing] Failing to load platform plugins on Ubuntu 11.04 [Qt-5.0-beta-offline-linux-x86_64-ubuntu1110]

Gatis Paeglis gatis.paeglis at nokia.com
Tue Jun 5 15:01:12 CEST 2012


Qt5 build for 11.10 is not working on 11.04 Ubuntu. From 
src/plugins/platforms/xcb/README we can see that there has been some 
changes "On Ubuntu 11.10 icccm1 is replaced by icccm4 and 
xcb-render-util is not available" which affects xcb plugin loading.

1) Install : 
http://releases.qt-project.org/qt5.0/beta-snapshots/2012-06-03_09-18-53/Qt-5.0-beta-offline-linux-x86_64-ubuntu1110.run

2) qmake, make simple test application

3) run it: ./betatest

Output on command line when  QT_DEBUG_PLUGINS=1:

loaded library "icui18n"
loaded library "icuuc"
QFactoryLoader::QFactoryLoader() looking at 
"/home/gatis/QtSDK194713/Desktop/Qt/5.0.0/gcc/plugins/platforms/libqminimal.so" 

Found metadata in lib 
/home/gatis/QtSDK194713/Desktop/Qt/5.0.0/gcc/plugins/platforms/libqminimal.so, 
metadata=
{
     "IID": "org.qt-project.Qt.QPlatformIntegrationFactoryInterface",
     "MetaData": {
         "Keys": [
             "minimal"
         ]
     },
     "className": "QMinimalIntegrationPlugin",
     "debug": false,
     "version": 327680
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at 
"/home/gatis/QtSDK194713/Desktop/Qt/5.0.0/gcc/plugins/platforms/libxcb.so"
Found metadata in lib 
/home/gatis/QtSDK194713/Desktop/Qt/5.0.0/gcc/plugins/platforms/libxcb.so, metadata=
{
     "IID": "org.qt-project.Qt.QPlatformIntegrationFactoryInterface",
     "MetaData": {
         "Keys": [
             "xcb"
         ]
     },
     "className": "QXcbIntegrationPlugin",
     "debug": false,
     "version": 327680
}


Got keys from plugin meta data ("xcb")
loaded library 
"/home/gatis/QtSDK194713/Desktop/Qt/5.0.0/gcc/plugins/platforms/libxcb.so"
QLibraryPrivate::loadPlugin failed on 
"/home/gatis/QtSDK194713/Desktop/Qt/5.0.0/gcc/plugins/platforms/libxcb.so" 
: "Cannot load library 
/home/gatis/QtSDK194713/Desktop/Qt/5.0.0/gcc/plugins/platforms/libxcb.so: (libxcb-icccm.so.4: 
cannot open shared object file: No such file or directory)"
Failed to load platform plugin "xcb". Available platforms are:
minimal
xcb

Aborted
------------------------------



More information about the Releasing mailing list