From 312f8942223e2ab1592969abb65aefc8c2abde58 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 22 Aug 2019 16:30:12 +0300 Subject: Add recipe for default Qt environment variables Move existing Qt environment variables from appcontroller conf to a separate component. Appcontroller is configured to use the same file, and it can also be used without appcontroller from a systemd service to get working Qt environment. Task-number: AUTOSUITE-1141 Change-Id: I588769a3bba036ab9f90e0292ab17e7d3f040f80 Reviewed-by: Mikko Gronoff --- .../conf/distro/include/colibri-imx7-emmc.conf | 2 + .../conf/distro/include/colibri-imx7.conf | 2 + .../conf/distro/include/colibri-vf.conf | 2 + .../conf/distro/include/imx7dsabresd.conf | 2 + .../conf/distro/include/imx7s-warp.conf | 2 + .../conf/distro/include/nitrogen7.conf | 2 + .../boot2qt-addons/default-qt-envs.bbappend | 35 +++++++++++++++ .../boot2qt-appcontroller/appcontroller.conf | 7 --- .../colibri-vf/appcontroller.conf | 9 ---- .../emulator/appcontroller.conf | 10 ----- .../imx6ull/appcontroller.conf | 9 ---- .../imx7s-warp/appcontroller.conf | 9 ---- .../jetson-tx1/appcontroller.conf | 8 ---- .../jetson-tx2/appcontroller.conf | 8 ---- .../boot2qt-appcontroller/mx6/appcontroller.conf | 10 ----- .../boot2qt-appcontroller/mx7/appcontroller.conf | 9 ---- .../boot2qt-appcontroller/mx8/appcontroller.conf | 8 ---- .../boot2qt-appcontroller/rpi/appcontroller.conf | 7 --- .../tegra-t18x/appcontroller.conf | 8 ---- .../boot2qt-appcontroller/ti33x/appcontroller.conf | 8 ---- .../boot2qt-addons/boot2qt-appcontroller_git.bb | 16 +++---- .../recipes-qt/boot2qt-addons/default-qt-envs.bb | 51 ++++++++++++++++++++++ .../boot2qt-addons/default-qt-envs/defaults | 5 +++ .../boot2qt-addons/default-qt-envs.bbappend | 38 ++++++++++++++++ .../boot2qt-addons/default-qt-envs.bbappend | 40 +++++++++++++++++ .../boot2qt-addons/default-qt-envs/kms.conf | 3 ++ .../qt5/boot2qt-appcontroller/appcontroller.conf | 8 ---- .../recipes-qt/qt5/boot2qt-appcontroller/kms.conf | 3 -- .../qt5/boot2qt-appcontroller_git.bbappend | 38 ---------------- .../recipes/qt5/default-qt-envs.bbappend | 32 ++++++++++++++ .../boot2qt-addons/default-qt-envs.bbappend | 32 ++++++++++++++ .../boot2qt-addons/default-qt-envs.bbappend | 41 +++++++++++++++++ .../boot2qt-addons/default-qt-envs/draak/kms.conf | 9 ++++ .../boot2qt-addons/default-qt-envs/ebisu/kms.conf | 9 ++++ .../boot2qt-addons/default-qt-envs/kms.conf | 4 ++ .../qt5/boot2qt-appcontroller/appcontroller.conf | 9 ---- .../qt5/boot2qt-appcontroller/draak/kms.conf | 9 ---- .../qt5/boot2qt-appcontroller/ebisu/kms.conf | 9 ---- .../recipes-qt/qt5/boot2qt-appcontroller/kms.conf | 4 -- .../qt5/boot2qt-appcontroller_git.bbappend | 38 ---------------- .../boot2qt-addons/default-qt-envs.bbappend | 32 ++++++++++++++ 41 files changed, 350 insertions(+), 237 deletions(-) create mode 100644 meta-boot2qt-distro/recipes-qt/boot2qt-addons/default-qt-envs.bbappend delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/colibri-vf/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/emulator/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx6ull/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx2/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx6/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx7/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx8/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/rpi/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/tegra-t18x/appcontroller.conf delete mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/ti33x/appcontroller.conf create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/default-qt-envs.bb create mode 100644 meta-boot2qt/recipes-qt/boot2qt-addons/default-qt-envs/defaults create mode 100644 meta-fsl-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend create mode 100644 meta-intel-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend create mode 100644 meta-intel-extras/recipes-qt/boot2qt-addons/default-qt-envs/kms.conf delete mode 100644 meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller/appcontroller.conf delete mode 100644 meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller/kms.conf delete mode 100644 meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller_git.bbappend create mode 100644 meta-nvidia-extras/recipes/qt5/default-qt-envs.bbappend create mode 100644 meta-raspberrypi-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend create mode 100644 meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend create mode 100644 meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/draak/kms.conf create mode 100644 meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/ebisu/kms.conf create mode 100644 meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/kms.conf delete mode 100644 meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/appcontroller.conf delete mode 100644 meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/draak/kms.conf delete mode 100644 meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/ebisu/kms.conf delete mode 100644 meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/kms.conf delete mode 100644 meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller_git.bbappend create mode 100644 meta-tegra-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx7-emmc.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx7-emmc.conf index 7ab090aa..51961c6b 100644 --- a/meta-boot2qt-distro/conf/distro/include/colibri-imx7-emmc.conf +++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx7-emmc.conf @@ -46,5 +46,7 @@ DISTRO_FEATURES_remove = "webengine wayland vulkan" BOOT2QT_DEMOS_remove = "boot2qt-demo-mediaplayer boot2qt-demo-qtgraphicaleffects boot2qt-demo-qtwebbrowser" +QT_USE_SOFTWARE_CONTEXT = "1" + # try to limit the maximum size of the tezi image RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware" diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf index f3f59ec5..05be89f1 100644 --- a/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf +++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf @@ -46,5 +46,7 @@ DISTRO_FEATURES_remove = "webengine wayland vulkan" BOOT2QT_DEMOS_remove = "boot2qt-demo-mediaplayer boot2qt-demo-qtgraphicaleffects boot2qt-demo-qtwebbrowser" +QT_USE_SOFTWARE_CONTEXT = "1" + # try to limit the maximum size of the tezi image RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware" diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf b/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf index dab6b814..2937acc7 100644 --- a/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf +++ b/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf @@ -43,3 +43,5 @@ PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" DISTRO_FEATURES_remove = "webengine wayland vulkan" BOOT2QT_DEMOS_remove = "boot2qt-demo-qtgraphicaleffects boot2qt-demo-mediaplayer boot2qt-demo-qtwebbrowser" + +QT_USE_SOFTWARE_CONTEXT = "1" diff --git a/meta-boot2qt-distro/conf/distro/include/imx7dsabresd.conf b/meta-boot2qt-distro/conf/distro/include/imx7dsabresd.conf index 962077ce..cfd47efb 100644 --- a/meta-boot2qt-distro/conf/distro/include/imx7dsabresd.conf +++ b/meta-boot2qt-distro/conf/distro/include/imx7dsabresd.conf @@ -32,3 +32,5 @@ include conf/distro/include/fsl.inc DEPLOY_CONF_NAME = "NXP SABRE SD i.MX7 Dual" DISTRO_FEATURES_remove = "webengine" + +QT_USE_SOFTWARE_CONTEXT = "1" diff --git a/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf b/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf index eeba4a50..65f0dd23 100644 --- a/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf +++ b/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf @@ -40,4 +40,6 @@ DISTRO_FEATURES_remove = "webengine wayland vulkan" BOOT2QT_DEMOS_remove = "boot2qt-demo-mediaplayer boot2qt-demo-qtgraphicaleffects boot2qt-demo-qtwebbrowser" +QT_USE_SOFTWARE_CONTEXT = "1" + KERNEL_DEVICETREE = "imx7d-warp.dtb" diff --git a/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf b/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf index f8e2b128..af355c63 100644 --- a/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf +++ b/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf @@ -37,3 +37,5 @@ PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" DISTRO_FEATURES_remove = "webengine wayland vulkan" BOOT2QT_DEMOS_remove = "boot2qt-demo-qtgraphicaleffects boot2qt-demo-qtwebbrowser" + +QT_USE_SOFTWARE_CONTEXT = "1" diff --git a/meta-boot2qt-distro/recipes-qt/boot2qt-addons/default-qt-envs.bbappend b/meta-boot2qt-distro/recipes-qt/boot2qt-addons/default-qt-envs.bbappend new file mode 100644 index 00000000..1319cc99 --- /dev/null +++ b/meta-boot2qt-distro/recipes-qt/boot2qt-addons/default-qt-envs.bbappend @@ -0,0 +1,35 @@ +############################################################################ +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +do_configure_append_emulator() { + echo "QT_QPA_GENERIC_PLUGINS=simulator" >> ${WORKDIR}/defaults + echo "QT_QPA_EGLFS_HIDECURSOR=1" >> ${WORKDIR}/defaults + echo "QTGLESSTREAM_DISPLAY=192.168.56.1" >> ${WORKDIR}/defaults + echo "SIMULATOR_HOSTNAME=192.168.56.1" >> ${WORKDIR}/defaults +} diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/appcontroller.conf deleted file mode 100644 index 3f06e3bd..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/appcontroller.conf +++ /dev/null @@ -1,7 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/colibri-vf/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/colibri-vf/appcontroller.conf deleted file mode 100644 index d59ca371..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/colibri-vf/appcontroller.conf +++ /dev/null @@ -1,9 +0,0 @@ -env=QMLSCENE_DEVICE=softwarecontext -env=QT_QPA_PLATFORM=linuxfb -env=QSG_RENDER_LOOP=basic -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/emulator/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/emulator/appcontroller.conf deleted file mode 100644 index e619fff9..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/emulator/appcontroller.conf +++ /dev/null @@ -1,10 +0,0 @@ -env=QT_QPA_GENERIC_PLUGINS=simulator -env=QT_QPA_EGLFS_HIDECURSOR=1 -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QTGLESSTREAM_DISPLAY=192.168.56.1 -env=SIMULATOR_HOSTNAME=192.168.56.1 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx6ull/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx6ull/appcontroller.conf deleted file mode 100644 index 38d06e69..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx6ull/appcontroller.conf +++ /dev/null @@ -1,9 +0,0 @@ -env=QMLSCENE_DEVICE=softwarecontext -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_QPA_PLATFORM=linuxfb -env=QSG_RENDER_LOOP=basic -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf deleted file mode 100644 index 38d06e69..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/imx7s-warp/appcontroller.conf +++ /dev/null @@ -1,9 +0,0 @@ -env=QMLSCENE_DEVICE=softwarecontext -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_QPA_PLATFORM=linuxfb -env=QSG_RENDER_LOOP=basic -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf deleted file mode 100644 index 85227c24..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx1/appcontroller.conf +++ /dev/null @@ -1,8 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QSG_RENDER_LOOP=basic -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx2/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx2/appcontroller.conf deleted file mode 100644 index 85227c24..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/jetson-tx2/appcontroller.conf +++ /dev/null @@ -1,8 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QSG_RENDER_LOOP=basic -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx6/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx6/appcontroller.conf deleted file mode 100644 index 411ec02d..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx6/appcontroller.conf +++ /dev/null @@ -1,10 +0,0 @@ -env=FB_MULTI_BUFFER=2 -env=QT_QPA_EGLFS_FORCEVSYNC=1 -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0 -env=QT_GSTREAMER_CAMERABIN_VIDEOSRC=mxc_v4l2=imxv4l2videosrc,v4l2src -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx7/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx7/appcontroller.conf deleted file mode 100644 index 38d06e69..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx7/appcontroller.conf +++ /dev/null @@ -1,9 +0,0 @@ -env=QMLSCENE_DEVICE=softwarecontext -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_QPA_PLATFORM=linuxfb -env=QSG_RENDER_LOOP=basic -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx8/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx8/appcontroller.conf deleted file mode 100644 index ce89f0ab..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/mx8/appcontroller.conf +++ /dev/null @@ -1,8 +0,0 @@ -env=FB_MULTI_BUFFER=2 -env=QT_QPA_EGLFS_FORCE888=1 -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/rpi/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/rpi/appcontroller.conf deleted file mode 100644 index f129589a..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/rpi/appcontroller.conf +++ /dev/null @@ -1,7 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=1 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/tegra-t18x/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/tegra-t18x/appcontroller.conf deleted file mode 100644 index 85227c24..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/tegra-t18x/appcontroller.conf +++ /dev/null @@ -1,8 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QSG_RENDER_LOOP=basic -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/ti33x/appcontroller.conf b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/ti33x/appcontroller.conf deleted file mode 100644 index 76313a87..00000000 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller/ti33x/appcontroller.conf +++ /dev/null @@ -1,8 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=QT_QPA_EGLFS_INTEGRATION=none -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller_git.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller_git.bb index b921c23d..58cde634 100644 --- a/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller_git.bb +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-appcontroller_git.bb @@ -36,22 +36,20 @@ require recipes-qt/qt5/qt5-git.inc QT_GIT_PROJECT = "qt-apps" -SRC_URI += "file://appcontroller.conf" - -SRCREV = "5ab7fdbf0845c40418272bafa565295511055d3b" +SRCREV = "474fa4b7aee62e704158d213d9e67eba74c69401" DEPENDS = "qtbase" +RDEPENDS_${PN} = " \ + default-qt-envs \ + " do_configure_append() { - sed -i -e '/^platform=/d' ${WORKDIR}/appcontroller.conf - echo platform=${MACHINE} >> ${WORKDIR}/appcontroller.conf + echo "base=linux" >> ${WORKDIR}/appcontroller.conf + echo "platform=${MACHINE}" >> ${WORKDIR}/appcontroller.conf + echo "environmentFile=/etc/default/qt" >> ${WORKDIR}/appcontroller.conf } do_install_append() { install -m 0755 -d ${D}${sysconfdir} install -m 0755 ${WORKDIR}/appcontroller.conf ${D}${sysconfdir}/ - - # loginctl enable-linger root - install -d ${D}/var/lib/systemd/linger - touch ${D}/var/lib/systemd/linger/root } diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/default-qt-envs.bb b/meta-boot2qt/recipes-qt/boot2qt-addons/default-qt-envs.bb new file mode 100644 index 00000000..24292474 --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/default-qt-envs.bb @@ -0,0 +1,51 @@ +############################################################################ +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +DESCRIPTION = "Common default environment variables for running Qt applications" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI += "file://defaults" + +do_configure() { + if [ "${QT_USE_SOFTWARE_CONTEXT}" ]; then + echo "QMLSCENE_DEVICE=softwarecontext" >> ${WORKDIR}/defaults + echo "QT_QPA_PLATFORM=linuxfb" >> ${WORKDIR}/defaults + echo "QSG_RENDER_LOOP=basic" >> ${WORKDIR}/defaults + fi +} + +do_install_append() { + install -m 0755 -d ${D}${sysconfdir}/default + install -m 0755 ${WORKDIR}/defaults ${D}${sysconfdir}/default/qt + + # loginctl enable-linger root + install -d ${D}/var/lib/systemd/linger + touch ${D}/var/lib/systemd/linger/root +} diff --git a/meta-boot2qt/recipes-qt/boot2qt-addons/default-qt-envs/defaults b/meta-boot2qt/recipes-qt/boot2qt-addons/default-qt-envs/defaults new file mode 100644 index 00000000..00c7d0fe --- /dev/null +++ b/meta-boot2qt/recipes-qt/boot2qt-addons/default-qt-envs/defaults @@ -0,0 +1,5 @@ +QML2_IMPORT_PATH=/data/user/qt/qmlplugins +QT_IM_MODULE=qtvirtualkeyboard +QT_QUICK_CONTROLS_1_STYLE=Flat +QTWEBENGINE_DISABLE_SANDBOX=1 +XDG_RUNTIME_DIR=/run/user/0 diff --git a/meta-fsl-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend b/meta-fsl-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend new file mode 100644 index 00000000..b4aa97d9 --- /dev/null +++ b/meta-fsl-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend @@ -0,0 +1,38 @@ +############################################################################ +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +do_configure_append() { + echo "FB_MULTI_BUFFER=2" >> ${WORKDIR}/defaults + echo "QT_QPA_EGLFS_FORCEVSYNC=1" >> ${WORKDIR}/defaults + echo "QT_GSTREAMER_CAMERABIN_VIDEOSRC=mxc_v4l2=imxv4l2videosrc,v4l2src" >> ${WORKDIR}/defaults +} + +do_configure_append_mx8() { + echo "QT_QPA_EGLFS_FORCE888=1" >> ${WORKDIR}/defaults +} diff --git a/meta-intel-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend b/meta-intel-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend new file mode 100644 index 00000000..b709228f --- /dev/null +++ b/meta-intel-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend @@ -0,0 +1,40 @@ +############################################################################ +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://kms.conf" + +do_configure_append() { + echo "QT_QPA_EGLFS_KMS_CONFIG=/etc/kms.conf" >> ${WORKDIR}/defaults +} + +do_install_append() { + install -m 0644 ${WORKDIR}/kms.conf ${D}${sysconfdir}/ +} diff --git a/meta-intel-extras/recipes-qt/boot2qt-addons/default-qt-envs/kms.conf b/meta-intel-extras/recipes-qt/boot2qt-addons/default-qt-envs/kms.conf new file mode 100644 index 00000000..d6da06c4 --- /dev/null +++ b/meta-intel-extras/recipes-qt/boot2qt-addons/default-qt-envs/kms.conf @@ -0,0 +1,3 @@ +{ + "hwcursor": false +} diff --git a/meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller/appcontroller.conf b/meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller/appcontroller.conf deleted file mode 100644 index c2615adc..00000000 --- a/meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller/appcontroller.conf +++ /dev/null @@ -1,8 +0,0 @@ -env=QT_QPA_EGLFS_KMS_CONFIG=/etc/kms.conf -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller/kms.conf b/meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller/kms.conf deleted file mode 100644 index d6da06c4..00000000 --- a/meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller/kms.conf +++ /dev/null @@ -1,3 +0,0 @@ -{ - "hwcursor": false -} diff --git a/meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller_git.bbappend b/meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller_git.bbappend deleted file mode 100644 index 708ed85e..00000000 --- a/meta-intel-extras/recipes-qt/qt5/boot2qt-appcontroller_git.bbappend +++ /dev/null @@ -1,38 +0,0 @@ -############################################################################ -## -## Copyright (C) 2017 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://kms.conf" - -FILES_${PN} += "${sysconfdir}/kms.conf" - -do_install_append() { - install -m 0644 ${WORKDIR}/kms.conf ${D}${sysconfdir}/ -} diff --git a/meta-nvidia-extras/recipes/qt5/default-qt-envs.bbappend b/meta-nvidia-extras/recipes/qt5/default-qt-envs.bbappend new file mode 100644 index 00000000..7c5b7d68 --- /dev/null +++ b/meta-nvidia-extras/recipes/qt5/default-qt-envs.bbappend @@ -0,0 +1,32 @@ +############################################################################ +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +do_configure_append() { + echo "QSG_RENDER_LOOP=basic" >> ${WORKDIR}/defaults +} diff --git a/meta-raspberrypi-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend b/meta-raspberrypi-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend new file mode 100644 index 00000000..2b371506 --- /dev/null +++ b/meta-raspberrypi-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend @@ -0,0 +1,32 @@ +############################################################################ +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +do_configure_append() { + echo "QT_QPA_EGLFS_FORCE888=1" >> ${WORKDIR}/defaults +} diff --git a/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend b/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend new file mode 100644 index 00000000..55b6cc83 --- /dev/null +++ b/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend @@ -0,0 +1,41 @@ +############################################################################ +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://kms.conf" + +do_configure_append() { + echo "QT_QPA_EGLFS_KMS_CONFIG=/etc/kms.conf" >> ${WORKDIR}/defaults + echo "QSG_RENDER_LOOP=basic" >> ${WORKDIR}/defaults +} + +do_install_append() { + install -m 0644 ${WORKDIR}/kms.conf ${D}${sysconfdir}/ +} diff --git a/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/draak/kms.conf b/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/draak/kms.conf new file mode 100644 index 00000000..4cbbf498 --- /dev/null +++ b/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/draak/kms.conf @@ -0,0 +1,9 @@ +{ + "device": "/dev/dri/card0", + "outputs": [ + { + "name": "VGA1", + "mode": "off" + } + ] +} diff --git a/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/ebisu/kms.conf b/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/ebisu/kms.conf new file mode 100644 index 00000000..4cbbf498 --- /dev/null +++ b/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/ebisu/kms.conf @@ -0,0 +1,9 @@ +{ + "device": "/dev/dri/card0", + "outputs": [ + { + "name": "VGA1", + "mode": "off" + } + ] +} diff --git a/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/kms.conf b/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/kms.conf new file mode 100644 index 00000000..db7a5032 --- /dev/null +++ b/meta-renesas-extras/recipes-qt/boot2qt-addons/default-qt-envs/kms.conf @@ -0,0 +1,4 @@ +{ + "device": "/dev/dri/card0", + "hwcursor": false +} diff --git a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/appcontroller.conf b/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/appcontroller.conf deleted file mode 100644 index 60ee1f17..00000000 --- a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/appcontroller.conf +++ /dev/null @@ -1,9 +0,0 @@ -env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins -env=QT_QPA_EGLFS_KMS_CONFIG=/etc/kms.conf -env=QT_IM_MODULE=qtvirtualkeyboard -env=QT_QPA_EGLFS_FORCE888=0 -env=QT_QUICK_CONTROLS_1_STYLE=Flat -env=XDG_RUNTIME_DIR=/run/user/0 -env=QSG_RENDER_LOOP=basic -env=QTWEBENGINE_DISABLE_SANDBOX=1 -base=linux diff --git a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/draak/kms.conf b/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/draak/kms.conf deleted file mode 100644 index 4cbbf498..00000000 --- a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/draak/kms.conf +++ /dev/null @@ -1,9 +0,0 @@ -{ - "device": "/dev/dri/card0", - "outputs": [ - { - "name": "VGA1", - "mode": "off" - } - ] -} diff --git a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/ebisu/kms.conf b/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/ebisu/kms.conf deleted file mode 100644 index 4cbbf498..00000000 --- a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/ebisu/kms.conf +++ /dev/null @@ -1,9 +0,0 @@ -{ - "device": "/dev/dri/card0", - "outputs": [ - { - "name": "VGA1", - "mode": "off" - } - ] -} diff --git a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/kms.conf b/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/kms.conf deleted file mode 100644 index db7a5032..00000000 --- a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller/kms.conf +++ /dev/null @@ -1,4 +0,0 @@ -{ - "device": "/dev/dri/card0", - "hwcursor": false -} diff --git a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller_git.bbappend b/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller_git.bbappend deleted file mode 100644 index 708ed85e..00000000 --- a/meta-renesas-extras/recipes-qt/qt5/boot2qt-appcontroller_git.bbappend +++ /dev/null @@ -1,38 +0,0 @@ -############################################################################ -## -## Copyright (C) 2017 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the Boot to Qt meta layer. -## -## $QT_BEGIN_LICENSE:GPL$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 or (at your option) any later version -## approved by the KDE Free Qt Foundation. The licenses are as published by -## the Free Software Foundation and appearing in the file LICENSE.GPL3 -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## -############################################################################ - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://kms.conf" - -FILES_${PN} += "${sysconfdir}/kms.conf" - -do_install_append() { - install -m 0644 ${WORKDIR}/kms.conf ${D}${sysconfdir}/ -} diff --git a/meta-tegra-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend b/meta-tegra-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend new file mode 100644 index 00000000..7c5b7d68 --- /dev/null +++ b/meta-tegra-extras/recipes-qt/boot2qt-addons/default-qt-envs.bbappend @@ -0,0 +1,32 @@ +############################################################################ +## +## Copyright (C) 2019 The Qt Company Ltd. +## Contact: https://www.qt.io/licensing/ +## +## This file is part of the Boot to Qt meta layer. +## +## $QT_BEGIN_LICENSE:GPL$ +## Commercial License Usage +## Licensees holding valid commercial Qt licenses may use this file in +## accordance with the commercial license agreement provided with the +## Software or, alternatively, in accordance with the terms contained in +## a written agreement between you and The Qt Company. For licensing terms +## and conditions see https://www.qt.io/terms-conditions. For further +## information use the contact form at https://www.qt.io/contact-us. +## +## GNU General Public License Usage +## Alternatively, this file may be used under the terms of the GNU +## General Public License version 3 or (at your option) any later version +## approved by the KDE Free Qt Foundation. The licenses are as published by +## the Free Software Foundation and appearing in the file LICENSE.GPL3 +## included in the packaging of this file. Please review the following +## information to ensure the GNU General Public License requirements will +## be met: https://www.gnu.org/licenses/gpl-3.0.html. +## +## $QT_END_LICENSE$ +## +############################################################################ + +do_configure_append() { + echo "QSG_RENDER_LOOP=basic" >> ${WORKDIR}/defaults +} -- cgit v1.2.3