Fix bug with compilation on Windows 10 with Qt 6.
This commit is contained in:
parent
f3e9918729
commit
2a9fcda3a6
|
@ -142,6 +142,19 @@ Module {
|
|||
return "c++11";
|
||||
}
|
||||
|
||||
Properties {
|
||||
condition: qbs.targetOS.contains("windows") && qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("clang")
|
||||
cpp.minimumWindowsVersion: {
|
||||
if (Qt.core.versionMajor >= 6)
|
||||
return "6.02"; // should be 10.0
|
||||
|
||||
if (Qt.core.versionMajor >= 5 && Qt.core.versionMinor >= 7)
|
||||
return "6.00";
|
||||
|
||||
return "5.01";
|
||||
}
|
||||
}
|
||||
|
||||
readonly property string minimumMacosVersion: {
|
||||
if (project.minimumMacosVersion !== undefined)
|
||||
return project.minimumMacosVersion;
|
||||
|
|
Loading…
Reference in New Issue
Block a user