Important: Please read the Qt Code of Conduct -

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:
    However I am experiencing problems when it comes to building Qt 5.

    These steps lead to the problem:
    @$ ./configure
    -opengl es2
    -make libs
    -make tools
    -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

    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:


  • Confirm if following paths exist on your development machine


Log in to reply