Skip to content

giobauermeister/qt-airport-timetable-demo

Repository files navigation

Qt5 Airport Timetable Demo 2.0

##Qt5 demo application simulating a Timetable at an airport This is version 2 of the original Airport Timetable demo, it is all written in QML, does not require anymore internet connection and has a few other improvements.

Overview

Qt5 introduced a new environment variable which can be set to display multiple Qt applications in different screens (framebuffers). That feature is very useful in various types of dual display applications. With this project we are showing an example of a Timetable at an ariport. The Timetable Demo is intended to work together with the Qt5 Airport Check-in Kiosk Demo 2.0. The demo should work without any issues using Toradex BSP V2.6.

Steps to run the demo

An image with included demos can be built using the recipes found in meta-projects layer, or the applications can be cross-compiled using Qt Creator and the source codes available.

This repository also includes a systemd UNIT file for starting the launching script at startup as well as the launching script itself.

To launch the applications manually, set the enviroment variable with the desired framebuffer(eg. /dev/fb0):

export QT_QPA_EGLFS_FB=/dev/fb0

and launch the application with the desired plugin(eg. EGLFS):

airportTimetable -platform eglfs

Steps to build the image

For building an image which includes this demo, first configure a build environment as seen in Toradex Developer Website in the article OpenEmbedded (core). Please follow the article carefully.

Inside stuff folder, clone the layer meta-projects from branch toradexImageV2.6

cd ~/oe-core/stuff/
git clone https://github.com/giobauermeister/meta-projects.git -b toradexImageV2.6

Add the layer in bblayers.conf

${TOPDIR}/../stuff/meta-projects \

In local.conf file, choose the MACHINE

MACHINE ?= "colibri-imx6"
MACHINE ?= "apalis-ima6"

and add the following content:

IMAGE_INSTALL_append = " \
    qtbase \
	qtbase-fonts \
	qtbase-plugins \
	qtquick1 \
	qtquick1-qmlplugins \
	qtquick1-plugins \                         
	packagegroup-qt5 \
	packagegroup-qt5-apps \
	qt-airport-kiosk-demo \
	qt-airport-timetable-demo \
	"               
 DISTRO_FEATURES_remove = "x11 wayland"

Finally bitbake console-trdx-image

Bellow is a video demonstrating the application

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published