From afe158b93686a82e5f1586b1785a2fdd7e8bb765 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 4 Sep 2023 15:05:55 +0200 Subject: [PATCH] CMake: Don't add no-prefix define to qconfig_p.h It's unlikely that C++ code needs to query that feature. It also causes full rebuilds of Qt if the feature's value is toggled. Remove the no-prefix define from qconfig_p.h. Pick-to: 6.5 6.6 Task-number: QTBUG-116689 Change-Id: I7d968b1c3d6bff3653e1233cea09a36579776347 Reviewed-by: Alexey Edelev Reviewed-by: Joerg Bornemann --- configure.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.cmake b/configure.cmake index baca26b0c0..508aa7782e 100644 --- a/configure.cmake +++ b/configure.cmake @@ -493,7 +493,7 @@ qt_feature("developer-build" PRIVATE LABEL "Developer build" AUTODETECT OFF ) -qt_feature("no-prefix" PRIVATE +qt_feature("no-prefix" LABEL "No prefix build" AUTODETECT NOT QT_WILL_INSTALL CONDITION NOT QT_WILL_INSTALL