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

SLES 11 sp3 and Qt5 compilation problems

$
0
0
I would like to know if there are any possibility to compile Qt5 onm this plateform? I know that the system is old but it is the one installed on the server and there are very little chance that will be upgrade to a newer version. We are developing a software based on Qt4 and we wanted to port it to Qt5 but if there are no chance for us to do it we will have to look at another solution (probably stuck with Qt4). I tried to follow this tutorial [qt-project.org] and adapted it to SLES11 but without success. I am going further than before but the compilation crash with the message: cd qml/ && ( test -e Makefile || /tmp/Softwares/Qt5/qt-everywhere-opensource-src-5.2.1/qtbase/bin/qmake /tmp/Softwares/Qt5/qt-everywhere-opensource-src-5.2.1/qtdeclarative/tools/qml/qml.pro -o Makefile ) && make -f Makefile make3: Entering directory `/tmp/Softwares/Qt5/qt-everywhere-opensource-src-5.2.1/qtdeclarative/tools/qml’ g++ -Wl,-rpath-link=/opt/Qt/5.2.1/usr/lib -Wl,-O1 -Wl,-rpath,/opt/Qt/5.2.1/lib -o ../../bin/qml .obj/main.o .obj/qrc_qml.o .obj/moc_conf.o -L/opt/Qt/5.2.1/usr/lib -L/tmp/Softwares/Qt5/qt-everywhere-opensource-src-5.2.1/qtbase/lib -lQt5Widgets -L/tmp/Softwares/Qt5/qt-everywhere-opensource-src-5.2.1/qtdeclarative/lib -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lpthread /usr/lib64/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io’ /usr/lib64/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io’ collect2: error: ld returned 1 exit status make3: *** [../../bin/qml] Error 1 make3: Leaving directory `/tmp/Softwares/Qt5/qt-everywhere-opensource-src-5.2.1/qtdeclarative/tools/qml’ make2: *** [sub-qml-make_first] Error 2 make2: Leaving directory `/tmp/Softwares/Qt5/qt-everywhere-opensource-src-5.2.1/qtdeclarative/tools’ make1: *** [sub-tools-make_first] Error 2 make1: Leaving directory `/tmp/Softwares/Qt5/qt-everywhere-opensource-src-5.2.1/qtdeclarative’ make: *** [module-qtdeclarative-make_first] Error 2 if you have any advice for me that will be great. Thank you, Nicolas

Viewing all articles
Browse latest Browse all 2113

Trending Articles