Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

qt cross compile on raspberry pi3



  • Hi, i used bellow link for cross compile:
    https://wiki.qt.io/RaspberryPi2EGLFS
    every thing is ok, but when i use of "make" command after bellow command:
    ./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v -no-use-gold-linker
    i deal with bellow error :
    make[1]: Nothing to be done for 'first'.
    my ubuntu version is 18.04 LTS and my qt version is 5.9.
    if you can, please help me for solving this problem.
    thank you.


  • Lifetime Qt Champion

    @Momeneh This is not an error.
    Is it possible that you already built it before in same location?
    Did configure really finish without any errors?



  • In the uploaded picture you can see output of bellow command:
    ./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v -no-use-gold-linker

    0_1551437253777_Screenshot from 2019-02-28 07-23-48.png


  • Lifetime Qt Champion

    @Momeneh Did you already build before in same directory?



  • no, but i'm not sure:(



  • of course you should know, before that I had several problems with the configure command so i couldn't continue, eventually i solved them and removed all the files or folders related to them and tried again and created raspi file at home and continued
    i used bellow link:
    https://wiki.qt.io/RaspberryPi2EGLFS

    so i think that it have not build before in the same directory


Log in to reply