From 21179efec4fbba1391d9ed691d14ef019c314478 Mon Sep 17 00:00:00 2001 From: Jozef Mlich Date: Thu, 6 Jul 2023 08:32:40 +0000 Subject: [PATCH] features should be installed into /usr/lib/qt5/mkspec/features not /usr/share/qt5/mkspec/features --- root.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/root.pro b/root.pro index c5fecb7..c191a4e 100644 --- a/root.pro +++ b/root.pro @@ -2,7 +2,11 @@ TEMPLATE = subdirs SUBDIRS = src tests type-to-cxx -prf.path = $$[QT_INSTALL_DATA]/mkspecs/features +greaterThan(QT_MAJOR_VERSION, 4) { + prf.path = $$[QT_HOST_DATA]/mkspecs/features +} else { + prf.path = $$[QT_INSTALL_DATA]/mkspecs/features +} prf.files = iodata-qt5.prf INSTALLS = prf