qt: add support for Qt Quick 2D Renderer in the CC6UL

This is an alternative software based renderer for QtQuick2
applications for hardware that doesn't have a GPU.

This is the case of the CC6UL. It does not have a GPU, so the only way
to run QML applications is using this software renderer.

https://jira.digi.com/browse/DEL-3912

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2017-08-09 18:31:12 +02:00
parent bbe7743255
commit e623c365ff
2 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@ MACHINE_QT5_EXTRA_INSTALL_ccimx6 ?= "qtwebengine-examples"
QT5_PKS = "qtserialport"
QT5_PKS_append_ccimx6 = " qtdeclarative-tools"
QT5_PKS_append_ccimx6ul = " qtdeclarative-render2d-plugins"
QT5_EXAMPLES = "qtbase-examples"
QT5_EXAMPLES_append_ccimx6 = " \

View File

@ -1,2 +1,5 @@
# Use LINUXFB platform plugin for images without X11
[ -f "/etc/init.d/xserver-nodm" ] || export QT_QPA_PLATFORM="linuxfb"
# Use Qt Quick 2D Renderer
export QMLSCENE_DEVICE="softwarecontext"