diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2017-03-05 15:20:12 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2017-03-05 17:48:16 +0300 |
commit | d04995899a6c9fbd0b738c2aa2acc2499e83bfd9 (patch) | |
tree | 325a77aff33fa5136f265c97776bcb05881efc0d /qmake/qt.pri | |
parent | 03908a0162540e3dfcdc2dc2102ab3b32cd08a88 (diff) |
Move .pri files and "toolchain" folder in "qmake"
Diffstat (limited to 'qmake/qt.pri')
-rw-r--r-- | qmake/qt.pri | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/qmake/qt.pri b/qmake/qt.pri new file mode 100644 index 000000000..cb486e084 --- /dev/null +++ b/qmake/qt.pri @@ -0,0 +1,24 @@ +# Copyright 2005-2017 The Mumble Developers. All rights reserved. +# Use of this source code is governed by a BSD-style license +# that can be found in the LICENSE file at the root of the +# Mumble source tree or at <https://www.mumble.info/LICENSE>. + +QT_VERSION_INT_MAJOR = $$QT_MAJOR_VERSION + +greaterThan(QT_MINOR_VERSION, 99) { + error(bad Qt minor version) +} greaterThan(QT_MINOR_VERSION, 9) { + QT_VERSION_INT_MINOR = "$$QT_MINOR_VERSION" +} else { + QT_VERSION_INT_MINOR = "0$$QT_MINOR_VERSION" +} + +greaterThan(QT_PATCH_VERSION, 99) { + error(bad Qt patch version) +} greaterThan(QT_PATCH_VERSION, 9) { + QT_VERSION_INT_PATCH = "$$QT_PATCH_VERSION" +} else { + QT_VERSION_INT_PATCH = "0$$QT_PATCH_VERSION" +} + +QT_VERSION_INT = "$$QT_VERSION_INT_MAJOR$$QT_VERSION_INT_MINOR$$QT_VERSION_INT_PATCH" |