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. Can't build qt 5.9.1 for Tinkerboard?
Forum Updated to NodeBB v4.3 + New Features

Can't build qt 5.9.1 for Tinkerboard?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 4 Posters 2.8k Views 2 Watching
  • 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.
  • MiladM Offline
    MiladM Offline
    Milad
    wrote on last edited by
    #1

    Hi,
    I tried building qt for asus tinker board according to this qt blog post:
    https://blog.qt.io/blog/2017/05/03/qt-git-tinkerboard-wayland/

    I checked out version v5.9.1 (i don't which version is used in the blog post) from git repository and tried to build, the configuration seems ok as:

      EGL .................................... yes
      OpenVG ................................. no
      OpenGL:
        Desktop OpenGL ....................... no
        OpenGL ES 2.0 ........................ yes
        OpenGL ES 3.0 ........................ yes
        OpenGL ES 3.1 ........................ no
      Session Management ..................... yes
    Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... no
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon-evdev ........................ no
    QPA backends:
      DirectFB ............................... no
      EGLFS .................................. yes
      EGLFS details:
        EGLFS i.Mx6 .......................... no
        EGLFS i.Mx6 Wayland .................. no
        EGLFS EGLDevice ...................... yes
        EGLFS GBM ............................ yes
        EGLFS Mali ........................... no
        EGLFS Raspberry Pi ................... no
        EGL on X11 ........................... no
      LinuxFB ................................ yes
      VNC .................................... yes
      Mir client ............................. no
    

    But after i run make it stops and gives the following error:

    /home/milad/Desktop/embedded-dev/Qt/Qt5/qt5_git_source/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/qeglfskmsegldevice.cpp:80:22: error: prototype for ‘gbm_device* QEglFSKmsEglDevice::nativeDisplay() const’ does not match any in class ‘QEglFSKmsEglDevice’
     EGLNativeDisplayType QEglFSKmsEglDevice::nativeDisplay() const
                          ^~~~~~~~~~~~~~~~~~
    In file included from /home/milad/Desktop/embedded-dev/Qt/Qt5/qt5_git_source/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/qeglfskmsegldevice.cpp:40:0:
    /home/milad/Desktop/embedded-dev/Qt/Qt5/qt5_git_source/qtbase/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/qeglfskmsegldevice.h:58:11: error: candidate is: virtual void* QEglFSKmsEglDevice::nativeDisplay() const
         void *nativeDisplay() const override;
               ^~~~~~~~~~~~~
    make[6]: *** [.obj/qeglfskmsegldevice.o] Error 1
    make[6]: Leaving directory `/home/milad/Desktop/embedded-dev/Qt/Qt5/build/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice'
    make[5]: *** [sub-eglfs_kms_egldevice-make_first] Error 2
    make[5]: Leaving directory `/home/milad/Desktop/embedded-dev/Qt/Qt5/build/src/plugins/platforms/eglfs/deviceintegration'
    make[4]: *** [sub-deviceintegration-make_first-ordered] Error 2
    make[4]: Leaving directory `/home/milad/Desktop/embedded-dev/Qt/Qt5/build/src/plugins/platforms/eglfs'
    make[3]: *** [sub-eglfs-make_first] Error 2
    make[3]: Leaving directory `/home/milad/Desktop/embedded-dev/Qt/Qt5/build/src/plugins/platforms'
    make[2]: *** [sub-platforms-make_first] Error 2
    make[2]: Leaving directory `/home/milad/Desktop/embedded-dev/Qt/Qt5/build/src/plugins'
    make[1]: *** [sub-plugins-make_first] Error 2
    make[1]: Leaving directory `/home/milad/Desktop/embedded-dev/Qt/Qt5/build/src'
    make: *** [sub-src-make_first] Error 2
    

    I can confirm that i could build with same configuration and the same sysroot for Qt 5.8.0

    Whats the problem with the 5.9.1 source?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      From the blog post, it seems they are using the dev branch.

      Since you are using the git sources, you should update it, currently it's the 5.9.2 release that you should have from the 5.9 branch.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • MiladM Offline
        MiladM Offline
        Milad
        wrote on last edited by
        #3

        Thanks for your reply Sgaist.
        I tried to build the 5.9 branch which is currently on 5.9.2 (although there isn’t any v5.9.2 tag) again the same problem happens.
        but building from dev branch seems to solve the problem.
        I tried to find the patch to apply but there are lots of commits behind so i think most logical way is to wait for 5.10.0 stable release because i don’t want to take a risk and use a non stable build

        A 1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          The 5.10 branch has just been created, you can build and test it.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • R Offline
            R Offline
            redknight106
            wrote on last edited by
            #5

            Did you ever get Qt working on your Tinkerboard.

            As I am having issues following the blog guide!

            1 Reply Last reply
            0
            • MiladM Milad

              Thanks for your reply Sgaist.
              I tried to build the 5.9 branch which is currently on 5.9.2 (although there isn’t any v5.9.2 tag) again the same problem happens.
              but building from dev branch seems to solve the problem.
              I tried to find the patch to apply but there are lots of commits behind so i think most logical way is to wait for 5.10.0 stable release because i don’t want to take a risk and use a non stable build

              A Offline
              A Offline
              A.S.D
              wrote on last edited by
              #6

              @Milad

              This is the commit that fixes this:
              http://code.qt.io/cgit/qt/qtbase.git/commit/?h=dev&id=9a640e7bc67b0a1ff5c61c63703b669e6f24521e

              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