Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@mapswithme.com>2013-07-09 16:03:47 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:58:32 +0300
commita104837e2bc50bb71307a83d0124a66db0aecfbd (patch)
treeffa38b819ee2f00f25dae2c12ecbb963c7076a5f /omim.pro
parentaf21cb2fcbcb79df19a186aa9ed141b0f989bc75 (diff)
[qt] Fixed cache() for qt5
Diffstat (limited to 'omim.pro')
-rw-r--r--omim.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/omim.pro b/omim.pro
index f30a44d80f..36edc45565 100644
--- a/omim.pro
+++ b/omim.pro
@@ -1,5 +1,10 @@
# Project that just includes all other projects.
-greaterThan($$member($$split(QT_VERSION, "."), 0), 4) {
+QT_VERSION = $$[QT_VERSION]
+QT_VERSION = $$split(QT_VERSION, ".")
+QT_VER_MAJ = $$member(QT_VERSION, 0)
+QT_VER_MIN = $$member(QT_VERSION, 1)
+
+greaterThan(QT_VER_MAJ, 4) {
cache()
}