This is a console based Yocto QT5 image for Tinkerboard using eglfs for rendering
Prebuilt toolchain/SDK https://drive.google.com/open?id=0B2aU6UdMlrQbRnpEMURhRW9Ebzg
Prebuilt OS image - https://drive.google.com/open?id=0B2aU6UdMlrQbQ0tTbE9VRHhDQjQ
Browse to the cloned directory, then type
$ . ./setup-environment
$ bitbake core-image-base
The build/local.conf file in this repo adds a number of QT5 libraries and applications. All the example apps can be found under /usr/share/ To run each of the example apps pass -platform eglfs as additonal argument.
EG:
$ cd /usr/share/cinematicexperience-1.0
$ ./Qt5_CinematicExperience -platform eglfs
For completeness, the instructions on building toolchain and preparing QTCreator are provided below (source)
$ bitbake meta-toolchain-qt5
$ apt-get install qtcreator
$ sh
$ cd /opt/
$ . ./environment-setup-cortexa17hf-neon-vfpv4-rk-linux-gnueabi
$ qtcreator
In QtCreator go to Tools > Options > Devices and add "rockchip" as a generic linux device. go to Tools > Options > Build & Run and: