summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/dynamic-layers/meta-qt6
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-core/dynamic-layers/meta-qt6')
-rw-r--r--meta-agl-core/dynamic-layers/meta-qt6/recipes-qt/qt6/qtbase_%.bbappend1
-rw-r--r--meta-agl-core/dynamic-layers/meta-qt6/recipes-qt/qt6/qtbase_aglcore.inc12
2 files changed, 13 insertions, 0 deletions
diff --git a/meta-agl-core/dynamic-layers/meta-qt6/recipes-qt/qt6/qtbase_%.bbappend b/meta-agl-core/dynamic-layers/meta-qt6/recipes-qt/qt6/qtbase_%.bbappend
new file mode 100644
index 000000000..aab944c2f
--- /dev/null
+++ b/meta-agl-core/dynamic-layers/meta-qt6/recipes-qt/qt6/qtbase_%.bbappend
@@ -0,0 +1 @@
+require ${@bb.utils.contains('AGL_FEATURES', 'aglcore', 'qtbase_aglcore.inc', '', d)}
diff --git a/meta-agl-core/dynamic-layers/meta-qt6/recipes-qt/qt6/qtbase_aglcore.inc b/meta-agl-core/dynamic-layers/meta-qt6/recipes-qt/qt6/qtbase_aglcore.inc
new file mode 100644
index 000000000..aa8bf1d59
--- /dev/null
+++ b/meta-agl-core/dynamic-layers/meta-qt6/recipes-qt/qt6/qtbase_aglcore.inc
@@ -0,0 +1,12 @@
+
+QT_QPA_DEFAULT_PLATFORM = "wayland-egl"
+
+
+
+# OLD
+#FILESEXTRAPATHS:prepend := "${THISDIR}/qtbase:"
+#PACKAGECONFIG_WAYLAND = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
+#PACKAGECONFIG:append = " ${PACKAGECONFIG_WAYLAND}"
+# '-qpa wayland-egl' set wayland-egl as default of platform plugins
+#PACKAGECONFIG[wayland]="-qpa wayland-egl -no-qpa-platform-guard"
+#PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"