Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Wiki Discussion
  4. Clarification or Update required on Qt Blog to install QT on Tinkerboard.
Forum Updated to NodeBB v4.3 + New Features

Clarification or Update required on Qt Blog to install QT on Tinkerboard.

Scheduled Pinned Locked Moved Unsolved Wiki Discussion
7 Posts 3 Posters 3.5k 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.
  • R Offline
    R Offline
    redknight106
    wrote on last edited by
    #1

    Hi,
    I like many others are trying build qt for asus tinker board according to this qt blog post:
    https://blog.qt.io/blog/2017/05/03/qt-git-tinkerboard-wayland/

    I have spent quite some time going over this with no results. As the guide cross-references another guide (https://wiki.qt.io/RaspberryPi2EGLFS) it could become easy to make a mistake. To help I have included a short guide of what I've done. But this will need to be verified.

    The original blog that was created a short time ago also has some hyperlink issues around downloading the toolchain and there are some command issues when using: rsync -e ssh avz instead of rsync -avz.

    I believe there will also need to be some clarification on what system the blog was performed on (i.e Ubuntu, Debian) and also if the dev- branch of a qtbase is still required.

    Also, I think the additional instruction is necessary on setting up the Qt environment as there are linking issues with the qmake. please reference https://forum.qt.io/topic/83776/can-t-build-qt-for-tinkerboard

    Thank you

    Loading QT on to Asus Tinker
    
    http://blog.qt.io/blog/2017/05/03/qt-git-tinkerboard-wayland/#comments
    https://wiki.qt.io/RaspberryPi2EGLFS
    
    Download latest Cross-compiler for x64
    https://releases.linaro.org/components/toolchain/binaries/6.3-2017.02/arm-linux-gnueabihf/
    
    Extract and rename to 'toolchain' and place into /tinker folder
    
    Download latest “wayland” variant from the Firefly RK3288 section
    https://developer.arm.com/products/software/mali-drivers/user-space
    
    [on Tinker] copy EGL/GLES/GBM/wayland-egl libraries to /usr/lib/arm-linux-gnueabihf.
    
    1)[on Tinker] Install a bunch of development files (for simplicity we use build-dep, not everything is really needed, but it is easier this way). 
    	
    	A- Disable auto-starting X
    		Command = sudo systemctl set-default multi-user.target or systemctl set-default graphical.target (to restore GUI)
    	1- Edit sources list in /etc/apt/sources.list with use of your favorite editor (nano / vi) and uncomment the 'deb-src' line:
    		Command = sudo nano /etc/apt/sources.list
    	2- Update your system and install required libraries:
    		Command = sudo apt-get update
    		Command = sudo apt-get build-dep qt4-x11 libqt5gui5 wayland weston
    	3- Prepare our target directory
    		Command = sudo mkdir /usr/local/qt5
    		Command = sudo chown linaro:linaro /usr/local/qt5
     	4- Give Root Password
    		Command = sudo passwd root
    		Command = Password
    		Command = Password
    
    2)[on Host] Create a sysroot on the host:
    	
    	Command = rsync -avz linaro@192.168.0.48:/lib ~/tinker/sysroot
    	Command = rsync -avz linaro@192.168.0.48:/usr/include ~/tinker/sysroot/usr
    	Command = rsync -avz linaro@192.168.0.48:/usr/lib ~/tinker/sysroot/usr
    
    3)[on Host] Make all symlinks relative:	
    	
    	Command = cd ~/tinker
    	Command = wget https://raw.githubusercontent.com/riscv/riscv-poky/master/scripts/sysroot-relativelinks.py
    	Command = chmod +x sysroot-relativelinks.py
    	Command = ./sysroot-relativelinks.py sysroot 
    	
    4) [on Host] Configure with -device linux-tinkerboard-g++: 
    	
    	Command = git clone git://code.qt.io/qt/qtbase.git -b dev
    	//or
    	Command = git clone git://code.qt.io/qt/qtbase.git -b 5.10
    	
    	Command = cd qtbase
    	Command = 	./configure -release -opengl es2 -nomake examples -nomake tests -opensource -confirm-license -v \
    				-device tinkerboard -device-option CROSS_COMPILE=~/tinker/toolchain/bin/arm-linux-gnueabihf- \
    				-sysroot ~/tinker/sysroot -prefix /usr/local/qt5 -extprefix ~/tinker/qt5 -hostprefix ~/tinker/qt5-host
    				
    	Command = make
    	Command = make install
    
    5)[on Host] rsyn to tinker
    	return to /tinker
    	Command = rsync -avz qt5 linaro@192.168.0.48:/usr/local
    	
    6)[on Host] Set up QT device and Kit.
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should rather bring this to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

      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
        #3

        I've never heard of this interest mailing list. But I'll give it a good.

        In this case, I would prefer to somehow contact the Qt employee for the blog namely Laszlo Agocs and ask for clarification but the comments for his blog are closed and there are no means for contacting him directly via the Qt platform instead of twitter and Linkedin.

        K 1 Reply Last reply
        0
        • R redknight106

          I've never heard of this interest mailing list. But I'll give it a good.

          In this case, I would prefer to somehow contact the Qt employee for the blog namely Laszlo Agocs and ask for clarification but the comments for his blog are closed and there are no means for contacting him directly via the Qt platform instead of twitter and Linkedin.

          K Offline
          K Offline
          Konstantin Tokarev
          wrote on last edited by
          #4

          @redknight106 Ping lagocs on #qt-labs channel on freenode (but better not today, as today is holiday in Germany)

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

            Thank you @Konstantin-Tokarev . I'll have a look on freenode and try and contact him.

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

              @Konstantin-Tokarev Sadly I haven't had any replies from Laszlo Agocs via freenode or his QT email which is a shame :(

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

                He's currently busy all week for the Qt Contributor Summit and World Summit. So this also means that he had to prepare for that.

                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

                • Login

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