From: Fabian Pflug <f.pflug@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: [ptxdist] [PATCH] qt6: add make vulkan support conditional
Date: Thu, 25 Jun 2026 10:36:34 +0200 [thread overview]
Message-ID: <20260625083642.2493349-1-f.pflug@pengutronix.de> (raw)
Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
rules/qt6.in | 5 +++++
rules/qt6.make | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/rules/qt6.in b/rules/qt6.in
index f1d24000f..436e32de2 100644
--- a/rules/qt6.in
+++ b/rules/qt6.in
@@ -79,6 +79,7 @@ menuconfig QT6
select UDEV if QT6_LIBUDEV
select UDEV_LIBUDEV if QT6_LIBUDEV
select WAYLAND if QT6_MODULE_QTWAYLAND
+ select VULKAN_LOADER if QT6_VULKAN
select QT6_MODULE_QTBASE
select QT6_MODULE_QTBASE_SQL if QT6_MODULE_QTDECLARATIVE
@@ -149,6 +150,10 @@ config QT6_OPENGL
bool
prompt "OpenGL ES2 support"
+config QT6_VULKAN
+ bool
+ prompt "Vulkan support"
+
config QT6_TEST
bool
prompt "Testing support"
diff --git a/rules/qt6.make b/rules/qt6.make
index c84a04bcc..3c8d68242 100644
--- a/rules/qt6.make
+++ b/rules/qt6.make
@@ -381,11 +381,11 @@ QT6_CONF_OPT += \
-DFEATURE_undostack=ON \
-DFEATURE_valgrind=OFF \
-DFEATURE_validator=ON \
- -DFEATURE_vkgen=OFF \
+ -DFEATURE_vkgen=$(call ptx/onoff,PTXCONF_QT6_VULKAN) \
-DFEATURE_vkkhrdisplay=OFF \
-DFEATURE_vnc=OFF \
-DFEATURE_vsp2=OFF \
- -DFEATURE_vulkan=OFF \
+ -DFEATURE_vulkan=$(call ptx/onoff,PTXCONF_QT6_VULKAN) \
-DFEATURE_wayland=$(call ptx/onoff,PTXCONF_QT6_MODULE_QTWAYLAND) \
-DFEATURE_whatsthis=ON \
-DFEATURE_wheelevent=ON \
--
2.47.3
reply other threads:[~2026-06-25 8:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260625083642.2493349-1-f.pflug@pengutronix.de \
--to=f.pflug@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox