Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved build qmake cross compiler for x96 settop box

    Mobile and Embedded
    x96 s905 qt5 crosscompile
    2
    6
    1513
    Loading More Posts
    • 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
      RyuShai last edited by RyuShai

      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

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @RyuShai last edited by

        @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 Reply Quote 0
        • R
          RyuShai last edited by RyuShai

          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 ?

          jsulm 1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @RyuShai last edited by

            @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 Reply Quote 1
            • R
              RyuShai last edited by

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

              jsulm 1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion @RyuShai last edited by

                @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 Reply Quote 0
                • First post
                  Last post