Disable Directwrite 2 when Directwrite is disabled
While this wouldn't have any consequences in practice, it was perceived as confusing to users that Directwrite 2 was listed as enabled in the summary when Qt was configured with -no-directwrite. To give a better presentation of what will actually be compiled, we force disable Directwrite 2 when Directwrite is disabled. Task-number: QTBUG-52952 Change-Id: I779772ecc4d47b20854588cedde2b097ae22ded4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
8996776f1e
commit
1880e8432f
@ -2500,7 +2500,9 @@ void Configure::autoDetection()
|
||||
if (dictionary["DIRECTWRITE"] == "auto")
|
||||
dictionary["DIRECTWRITE"] = checkAvailability("DIRECTWRITE") ? "yes" : "no";
|
||||
|
||||
if (dictionary["DIRECTWRITE2"] == "auto")
|
||||
if (dictionary["DIRECTWRITE"] == "no")
|
||||
dictionary["DIRECTWRITE2"] = "no";
|
||||
else if (dictionary["DIRECTWRITE2"] == "auto")
|
||||
dictionary["DIRECTWRITE2"] = checkAvailability("DIRECTWRITE2") ? "yes" : "no";
|
||||
|
||||
// Mark all unknown "auto" to the default value..
|
||||
|
Loading…
Reference in New Issue
Block a user