Important: Please read the Qt Code of Conduct -


  • Hello, I just started the guide for cross-compile
    and at step 10 after introducing the command:
    ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v
    I get this:
    <srcbase> = /home/mihai/Desktop/raspi/qtbase
    <bldbase> = /home/mihai/Desktop/raspi/qtbase
    <outbase> = /home/mihai/Desktop/raspi/qtbase
    Creating qmake...
    make: Nothing to be done for 'first'.
    Command line: -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=/home/mihai/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot /home/mihai/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix /home/mihai/raspi/qt5pi -hostprefix /home/mihai/raspi/qt5 -v
    Project ERROR: Cannot run target compiler '/home/mihai/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++'. Output:

    Maybe you forgot to setup the environment?

    Can someoane help me about solving this :D?

  • Lifetime Qt Champion

    @MihaiJunior Please don't post same question several times!

Log in to reply