Configure: Disable widgets module too if gui module is disabled
Use the same logic as in the Unix configure script, and disable "widgets" if "gui" is disabled. Change-Id: Ica338ad10b965eea297dddaaedeea61a3ae3ebe9 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
a2bfd11493
commit
c1bea0b532
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user