summaryrefslogtreecommitdiff
path: root/qbs_version.pri
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-10-22 13:25:37 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-10-22 13:58:50 +0200
commitfbe28faf9898f4ded5e9e5e21054891954e4bdd1 (patch)
tree2be2a8fa6a23aa57f4a705b2c13edc8f4153c2f6 /qbs_version.pri
parentaba480caf92637ee682ba44c928fce61e82cdbee (diff)
downloadqbs-fbe28faf9898f4ded5e9e5e21054891954e4bdd1.tar.gz
fix Windows build
When setting VERSION, qmake adds the major version number to the lib name on Windows. We need to take this into account in use.pri. Change-Id: I45ed925cb6b0de8528ab3c025da7b3d269651d8c Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'qbs_version.pri')
-rw-r--r--qbs_version.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/qbs_version.pri b/qbs_version.pri
index 19bec18ea..2669469c0 100644
--- a/qbs_version.pri
+++ b/qbs_version.pri
@@ -1,2 +1,3 @@
QBS_VERSION = 1.1.0
+QBS_VERSION_MAJ = $$section(QBS_VERSION, ., 0, 0)
DEFINES += QBS_VERSION=\\\"$$QBS_VERSION\\\"