Giter VIP home page Giter VIP logo

andrecurvello / tinkerboard-yocto-qt5-eglfs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spedagadi/tinkerboard-yocto-qt5-eglfs

0.0 2.0 0.0 19.12 MB

Console based Yocto QT5 image for Tinkerboard

Shell 5.90% SourcePawn 0.67% BitBake 23.59% C++ 2.08% Python 44.76% PHP 6.47% JavaScript 1.79% M4 0.52% Makefile 0.43% Lua 0.01% C 5.06% BlitzBasic 0.13% Assembly 1.53% Roff 4.03% Perl 0.12% CMake 0.01% Vim Script 0.07% XSLT 0.01% CSS 0.30% HTML 2.52%

tinkerboard-yocto-qt5-eglfs's Introduction

Tinkerboard - QT5 Yocto (Console based - Tested on Ubuntu 16.04 64 bit PC)

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

Building a fresh Yocto image

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)

Building tool chain

$ bitbake meta-toolchain-qt5

$ apt-get install qtcreator

$ sh -glibc-x86_64-meta-toolchain-qt5-cortexa17hf-neon-vfpv4-toolchain-2.2.1.sh

Configuring QTCreator

$ cd /opt//2.2.1

$ . ./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:

  • Add a new compiler. Select your compiler: /opt//2.2.1/sysroots/x86_64-rksdk-linux/usr/bin/arm-rk-linux-gnueabi/arm-rk-linux-gnueabi-g++
  • Add your new cross compiled Qt version by selecting the qmake located in /opt//2.2.1/sysroots/x86_64-rksdk-linux/usr/bin/qt5
  • Add a new kit selecting your new Qt5 version and compiler and setting the sysroot to /opt//2.2.1/sysroots/cortexa17hf-neon-vfpv4-rk-linux-gnueabi and set the Qt mkspec to "linux-oe-g++".
  • Finally select your "rockchip" for the device.

tinkerboard-yocto-qt5-eglfs's People

Contributors

spedagadi avatar

Watchers

André Márcio de Lima Curvello avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.