Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

qt-creator could not find or load the Qt platform plugin xcb ?

$
0
0
I am seeking advice on building and installing Qt and Qt Creator from source. I used the following to build from source under CentOS 6.4 64-bit under my non-root user account: # Build Qt5 sudo yum install libxcb libxcb-devel xcb-util xcb-util-devel cd ~/projects git clone git://gitorious.org/qt/qt5.git qt5 cd qt5 git checkout stable perl init-repository ./configure -opensource -nomake examples -nomake tests -no-gtkstyle -confirm-license make export QTDIR=/home/esutton/projects/qt5/qtbase   # Build Qt Creator... cd ~/projects git clone git://gitorious.org/qt-creator/qt-creator.git cd qt-creator which qmake ${QTDIR}/bin/qmake -r make   #Launch qtcreator ./bin/qtcreator & I receive the following error: [1] 4136 [esutton@centos64x64 qt-creator]$ This application failed to start because it could not find or load the Qt platform plugin "xcb".   Reinstalling the application may fix this problem. libqxcb.so exists. I tried setting the LD_LIBRAY_PATH to the containing ${QTDIR}/plugins/platforms folder. ls -al ${QTDIR}/plugins/platforms total 1400 drwxrwxr-x.  2 esutton esutton    4096 Jul 31 14:40 . drwxrwxr-x. 18 esutton esutton    4096 Jul 31 12:40 .. -rwxrwxr-x.  1 esutton esutton  177760 Jul 31 14:40 libqlinuxfb.so -rwxrwxr-x.  1 esutton esutton   33952 Jul 31 14:40 libqminimal.so -rwxrwxr-x.  1 esutton esutton  144672 Jul 31 14:40 libqoffscreen.so -rwxrwxr-x.  1 esutton esutton 1056912 Jul 31 14:40 libqxcb.so Background: This is my first time building Qt from source. Previously I had downloaded the binary installers when I was working and targeting RHEL 5.2. Unfortunately the Standard C Libraries packaged with CentOS 6.4 are older than the pre-built Qt5 expects. It apeared building from source on CentOS 6.4 was the best solution for deploying Qt5 apps to stock CentOS 6.4 installations. Any tips or directions are much appreciated, -Ed

Viewing all articles
Browse latest Browse all 2113

Trending Articles