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>
(cherry picked from commit e623c365ff)
This commit is contained in:
parent
d28fa6e87a
commit
c5553d17fa
|
|
@ -11,6 +11,7 @@ MACHINE_QT5_EXTRA_INSTALL_ccimx6 ?= "qtwebengine-examples"
|
||||||
|
|
||||||
QT5_PKS = "qtserialport"
|
QT5_PKS = "qtserialport"
|
||||||
QT5_PKS_append_ccimx6 = " qtdeclarative-tools"
|
QT5_PKS_append_ccimx6 = " qtdeclarative-tools"
|
||||||
|
QT5_PKS_append_ccimx6ul = " qtdeclarative-render2d-plugins"
|
||||||
|
|
||||||
QT5_EXAMPLES = "qtbase-examples"
|
QT5_EXAMPLES = "qtbase-examples"
|
||||||
QT5_EXAMPLES_append_ccimx6 = " \
|
QT5_EXAMPLES_append_ccimx6 = " \
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,5 @@
|
||||||
# Use LINUXFB platform plugin for images without X11
|
# Use LINUXFB platform plugin for images without X11
|
||||||
[ -f "/etc/init.d/xserver-nodm" ] || export QT_QPA_PLATFORM="linuxfb"
|
[ -f "/etc/init.d/xserver-nodm" ] || export QT_QPA_PLATFORM="linuxfb"
|
||||||
|
|
||||||
|
# Use Qt Quick 2D Renderer
|
||||||
|
export QMLSCENE_DEVICE="softwarecontext"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue