Building Qt5 for Embedded Linux -> Problem with OpenGL
-
Good day fellow programmers,
I am trying to deploy an application to a Raspberry Pi running Debian.
So far I have been following this guide: http://www.ics.com/blog/building-qt-5-raspberry-pi#.Uf4cV-F3Q5a
However I am experiencing problems when it comes to building Qt 5.These steps lead to the problem:
@$ ./configure
-release
-opengl es2
-optimized-qmake
-no-pch
-make libs
-make tools
-reduce-exports
-sysroot /mnt/raspberry-rootfs
-device linux-rasp-pi-g++
-device-option CROSS_COMPILE=~/raspberry/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-
-prefix /usr/local/Qt-5.1.0-raspberry
@This is the error output:
@Could not determine the target architecture!
Turn on verbose messaging (-v) to see the final report.
All the OpenGL functionality tests failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
/home/parallels/qt-everywhere-opensource-src-5.1.0/qtbase/mkspecs/devices/linux-rasp-pi-g++.
@Does anyone has an idea to solve this issue?
Any help wpuld be greatly appreciated!Thanks a lot!
-
Hi Plox,
You may want to have a look here, this page proposes a solution regarding your issue:
http://qt-project.org/wiki/RaspberryPi_Beginners_guideRegards
-
Confirm if following paths exist on your development machine
/mnt/raspberry-rootfs/opt/vc/lib
/mnt/raspberry-rootfs/opt/vc/include
/mnt/raspberry-rootfs/opt/vc/include/interface/vcos
/mnt/raspberry-rootfs/opt/vc/include/interface/vmcs_host