Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Cross compile QtBase for RaspberryPI CM3 without the raspberry toolchain
dxvx last edited by
I have followed this Qt5 tutorial in order to build Qt5 for raspberry pi CM3.
Why all the time I want to try another compiler (like GCC9 from the latest ubuntu repo) the error is:
ERROR: The OpenGL functionality tests failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
the ./configure command is:
./configure -release -opensource -confirm-license -opengl es2 -no-use-gold-linker -v -nomake examples -nomake tests \ -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- \ -sysroot ~/workspaces/rasp10_cons_1 -prefix /opt/qt5 -extprefix ~/workspaces/qt/qt5-pi -hostprefix ~/workspaces/qt/qt5-tools
Many thanks in advice,
Pablo J. Rogina last edited by
Why all the time I want to try another compiler
Have you succeeded with the toolchain suggested in that tutorial?
dxvx last edited by dxvx
@Pablo-J-Rogina yes, I have already build qtbase and qtmultimedia with the toolchain reccomended by raspbian.
If I take the same command "./configure..." changing the default toolchain with another one I have the error.
I have already tested my toolchain building some test c and c++ programs.