Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. build qmake cross compiler for x96 settop box
QtWS25 Last Chance

build qmake cross compiler for x96 settop box

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
x96s905qt5crosscompile
6 Posts 2 Posters 1.9k 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.
  • R Offline
    R Offline
    RyuShai
    wrote on 20 Oct 2017, 11:03 last edited by RyuShai
    #1

    Hi all,
    I want build my project on x86 pc then run on x96-s905x set top box (this guy)
    so im try to create cross compiler (qmake file as my understand) to use in qtcreator (like android for qt ^^) by build qt from source with option -platform linux-aarch64-gnu-g++ but it not work.

    Some one can teach me basic or give clue to make it work

    some info i can give:
    1, i build qt5.9 success on this box
    2, use qmake built on this box to compile my project- success, it work find but too slow, so that why i need build on my pc

    J 1 Reply Last reply 20 Oct 2017, 13:27
    0
    • R RyuShai
      20 Oct 2017, 11:03

      Hi all,
      I want build my project on x86 pc then run on x96-s905x set top box (this guy)
      so im try to create cross compiler (qmake file as my understand) to use in qtcreator (like android for qt ^^) by build qt from source with option -platform linux-aarch64-gnu-g++ but it not work.

      Some one can teach me basic or give clue to make it work

      some info i can give:
      1, i build qt5.9 success on this box
      2, use qmake built on this box to compile my project- success, it work find but too slow, so that why i need build on my pc

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 20 Oct 2017, 13:27 last edited by
      #2

      @RyuShai said in build qmake cross compiler for x96 settop box:

      but it not work

      What does not work? Do you have more information like error messages?

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

      1 Reply Last reply
      0
      • R Offline
        R Offline
        RyuShai
        wrote on 23 Oct 2017, 08:27 last edited by RyuShai
        #3

        sorry for late response
        first, im try to build qt from qt-everywhere-opensource-src-5.9.2 source with configure : ./configure -prefix mydir -platform linux-aarch64-gnu-g++
        then i got error :
        0_1508747164918_Screenshot from 2017-10-23 15-23-42.png

        i installed libgles2, if configure platform with "linux-g++" every thing work find. How can i resolve this sitution ?

        J 1 Reply Last reply 23 Oct 2017, 11:20
        0
        • R RyuShai
          23 Oct 2017, 08:27

          sorry for late response
          first, im try to build qt from qt-everywhere-opensource-src-5.9.2 source with configure : ./configure -prefix mydir -platform linux-aarch64-gnu-g++
          then i got error :
          0_1508747164918_Screenshot from 2017-10-23 15-23-42.png

          i installed libgles2, if configure platform with "linux-g++" every thing work find. How can i resolve this sitution ?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 23 Oct 2017, 11:20 last edited by
          #4

          @RyuShai said in build qmake cross compiler for x96 settop box:

          i installed libgles2

          where did you install it? On your host machine? You need it in your sysroot for the device.

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

          1 Reply Last reply
          1
          • R Offline
            R Offline
            RyuShai
            wrote on 23 Oct 2017, 11:48 last edited by
            #5

            my glesv2 : /usr/lib/libGLESv2.so
            where should i put libGLESv2.so ?

            J 1 Reply Last reply 24 Oct 2017, 04:29
            0
            • R RyuShai
              23 Oct 2017, 11:48

              my glesv2 : /usr/lib/libGLESv2.so
              where should i put libGLESv2.so ?

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 24 Oct 2017, 04:29 last edited by
              #6

              @RyuShai As I said on in your sysroot which you use to build for your target device. It doesn't help to install it on your host machine as you're building for another machine with different architecture (ARM). Your host machine is x86_64, right? If you install libs there they are for x86_64 as well - you cannot use them on ARM. Usually if you cross compile for other architectures you have a sysroot which contains all needed header files and libraries.

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

              1 Reply Last reply
              0

              1/6

              20 Oct 2017, 11:03

              • Login

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