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

lars.knoll at nokia.com lars.knoll at nokia.com
Tue Jun 5 15:12:17 CEST 2012



On 6/5/12 3:01 PM, "ext Gatis Paeglis" <gatis.paeglis at nokia.com> wrote:

>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.

You'd have to build Qt on 10.04, and then you probably have a chance of
it working on 11.10. The other way round will simply never work.

Cheers,
Lars

>
>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/libqminima
>l.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
>------------------------------
>_______________________________________________
>Releasing mailing list
>Releasing at qt-project.org
>http://lists.qt-project.org/mailman/listinfo/releasing




More information about the Releasing mailing list