mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] qt6: add make vulkan support conditional
@ 2026-06-25  8:36 Fabian Pflug
  0 siblings, 0 replies; only message in thread
From: Fabian Pflug @ 2026-06-25  8:36 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pflug

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-25  8:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25  8:36 [ptxdist] [PATCH] qt6: add make vulkan support conditional Fabian Pflug

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox