Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. qt cross compile on raspberry pi3
Forum Updated to NodeBB v4.3 + New Features

qt cross compile on raspberry pi3

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 2 Posters 751 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Momeneh
    wrote on last edited by
    #1

    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.

    jsulmJ 1 Reply Last reply
    0
    • M Momeneh

      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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Momeneh
        wrote on last edited by Momeneh
        #3

        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

        jsulmJ 1 Reply Last reply
        0
        • M Momeneh

          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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Momeneh Did you already build before in same directory?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Momeneh
            wrote on last edited by
            #5

            no, but i'm not sure:(

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Momeneh
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved