Qt 5.2.0 Beta 1 for Raspberry Pi
-
I am trying to be able to compile the Qt 5.2.0 Beta 1 for my RPI, but it always crashes.
These are the guides I have tried to follow:
http://qt-project.org/wiki/RaspberryPi_Beginners_guide/home/peter/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=hard --sysroot=/mnt/rasp-pi-rootfs -O2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../mkspecs/devices/linux-rasp-pi-g++ -I. -I../../../../include -I../../../../include/QtPlatformSupport -I../../../../include/QtPlatformSupport/5.2.0 -I../../../../include/QtPlatformSupport/5.2.0/QtPlatformSupport -I../../../../include/QtGui -I../../../../include/QtGui/5.2.0 -I../../../../include/QtGui/5.2.0/QtGui -I../../../../include/QtCore -I../../../../include/QtCore/5.2.0 -I../../../../include/QtCore/5.2.0/QtCore -I.moc/release-shared -I/mnt/rasp-pi-rootfs/opt/vc/include -I/mnt/rasp-pi-rootfs/opt/vc/include/interface/vcos/pthreads -I/mnt/rasp-pi-rootfs/opt/vc/include/interface/vmcs_host/linux -o .obj/release-shared/main.o main.cpp
rm -f libqevdevtabletplugin.so
/home/peter/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf --sysroot=/mnt/rasp-pi-rootfs -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/usr/local/qt5pi/lib -shared -o libqevdevtabletplugin.so .obj/release-shared/main.o -L/mnt/rasp-pi-rootfs/opt/vc/lib -L/home/peter/opt/qt5/qtbase/lib -lQt5PlatformSupport -lz -lEGL -lQt5Gui -lQt5Core -lGLESv2 -lpthread
mv -f libqevdevtabletplugin.so ../../../../plugins/generic/
make[4]: Leaving directory/home/peter/opt/qt5/qtbase/src/plugins/generic/evdevtablet' make[3]: Leaving directory
/home/peter/opt/qt5/qtbase/src/plugins/generic'
rm -f libqsqlite.so
/home/peter/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-rpath-link,/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/mnt/rasp-pi-rootfs/lib/arm-linux-gnueabihf --sysroot=/mnt/rasp-pi-rootfs -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/usr/local/qt5pi/lib -shared -o libqsqlite.so .obj/release-shared/smain.o .obj/release-shared/qsql_sqlite.o .obj/release-shared/sqlite3.o .obj/release-shared/moc_qsql_sqlite_p.o -L/home/peter/opt/qt5/qtbase/lib -lQt5Sql -lQt5Core -lpthread
mv -f libqsqlite.so ../../../../plugins/sqldrivers/
make[4]: Leaving directory/home/peter/opt/qt5/qtbase/src/plugins/sqldrivers/sqlite' make[3]: Leaving directory
/home/peter/opt/qt5/qtbase/src/plugins/sqldrivers'
make[2]: Leaving directory/home/peter/opt/qt5/qtbase/src/plugins' make[1]: *** [sub-plugins-make_first] Error 2 make[1]: Leaving directory
/home/peter/opt/qt5/qtbase/src'
make: *** [sub-src-make_first] Error 2Someone can help me?