diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/configure/configureapp.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index c6d1002f23..350ce63087 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -2536,12 +2536,14 @@ void Configure::generateOutputVars() else qtConfig += "shared"; + if (dictionary[ "GUI" ] == "no") { + qtConfig += "no-gui"; + dictionary [ "WIDGETS" ] = "no"; + } + if (dictionary[ "WIDGETS" ] == "no") qtConfig += "no-widgets"; - if (dictionary[ "GUI" ] == "no") - qtConfig += "no-gui"; - // Compression -------------------------------------------------- if (dictionary[ "ZLIB" ] == "qt") qtConfig += "zlib"; |