aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rw-r--r--dist/dist.qbs9
1 files changed, 7 insertions, 2 deletions
diff --git a/dist/dist.qbs b/dist/dist.qbs
index 94f25fbce..3ffd8baa9 100644
--- a/dist/dist.qbs
+++ b/dist/dist.qbs
@@ -23,13 +23,18 @@ Product {
Depends { name: "archiver" }
Depends { name: "Qt.core" }
+ readonly property bool hasQt56: {
+ if (Qt.core.versionMajor === 5)
+ return Qt.core.versionMinor >= 6;
+ return Qt.core.versionMajor > 5;
+ }
+
property stringList windeployqtArgs: [
"--no-svg",
"--no-system-d3d-compiler",
"--no-angle",
- "--no-opengl-sw",
"--no-compiler-runtime",
- ]
+ ].concat(hasQt56 ? ["--no-opengl-sw"] : [])
// List of path prefixes to be excluded from the generated archive
property stringList excludedPathPrefixes: [