Skip to content

Commit

Permalink
Add support for Qt 6
Browse files Browse the repository at this point in the history
Add separate bbappends for Qt 6 (https://code.qt.io/cgit/yocto/meta-qt6.git).
Enabled EGLFS EglDevice backend plugin to be used with tegra libraries
and add extra CMake arguments to select the preferred backend plugin
based on the preferred gbm provider.

Signed-off-by: Samuli Piippo <[email protected]>
  • Loading branch information
sapiippo authored and madisongh committed Oct 24, 2023
1 parent 524bf0c commit cf7832e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions external/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PACKAGECONFIG_GRAPHICS:append:tegra = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs-egldevice', d)}"

QT_QPA_DEFAULT_EGLFS_INTEGRATION ?= "${@bb.utils.contains('PREFERRED_RPROVIDER_tegra-gbm-backend', 'tegra-libraries-gbm-backend', 'eglfs_kms_egldevice', 'eglfs_kms', d)}"
EXTRA_OECMAKE:append:tegra = " -DQT_QPA_DEFAULT_EGLFS_INTEGRATION=${QT_QPA_DEFAULT_EGLFS_INTEGRATION}"

0 comments on commit cf7832e

Please sign in to comment.