From 98ddf9262e356178ddcf26b72e375c99cec16b79 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 27 Jun 2016 16:45:03 +0200 Subject: Revamp configure system for widget styles Add [-no]-style-foo command line options for all widget styles, bringing this closer in line with configure.exe. Add proper platform dependencies and a configure test for the required uxtheme.h header on Windows. Clean up and simplify styles.pri. Don't let configure.exe define QT_NO_STYLE_* any more, as styles.pri does that locally anyway. Change-Id: I81341f887a65b4e45e77380974eb79743acfad77 Reviewed-by: Lars Knoll Reviewed-by: Oswald Buddenhagen --- configure.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.pri') diff --git a/configure.pri b/configure.pri index 021b0013ee..cc120c12d1 100644 --- a/configure.pri +++ b/configure.pri @@ -449,7 +449,7 @@ defineTest(qtConfOutput_architecture) { defineTest(qtConfOutput_styles) { !$${2}: return() - style = $$replace($${1}.feature, "-style", "") + style = $$replace($${1}.feature, "style-", "") qtConfOutputVar(append, "privatePro", "styles", $$style) } -- cgit v1.2.3