changeset 294:10748e9d54c4

Add Makefile parameter QT6=x to build for Qt6.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 09 May 2023 12:35:29 +0300
parents c158ce77465c
children 0f345852b3ed
files Makefile
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue May 09 12:32:52 2023 +0300
+++ b/Makefile	Tue May 09 12:35:29 2023 +0300
@@ -6,8 +6,13 @@
 
 
 # Miscellaneous
+ifneq ($(QT6),)
+QT_VERSION_PREFIX = Qt6
+QT_TOOL_PREFIX = /usr/lib/qt6/libexec/
+else
 QT_VERSION_PREFIX = Qt5
 QT_TOOL_PREFIX = /usr/lib/qt5/bin/
+endif
 BINTOOL_PREFIX =
 
 PREFIX = /usr/local