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

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mumble/mumble.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mumble/mumble.pro b/src/mumble/mumble.pro
index 905b57e73..65b281536 100644
--- a/src/mumble/mumble.pro
+++ b/src/mumble/mumble.pro
@@ -236,7 +236,11 @@ CONFIG(static) {
isEmpty(QMAKE_LRELEASE) {
QMAKE_QMAKE_BASE = $$basename(QMAKE_QMAKE)
QMAKE_LRELEASE_PATH = $$dirname(QMAKE_QMAKE)/$$replace(QMAKE_QMAKE_BASE,qmake,lrelease)
- QMAKE_LRELEASE = $$shell_path($$QMAKE_LRELEASE_PATH)
+ isEqual(QT_MAJOR_VERSION, 5) {
+ QMAKE_LRELEASE = $$shell_path($$QMAKE_LRELEASE_PATH)
+ } else {
+ QMAKE_LRELEASE = $$QMAKE_LRELEASE_PATH
+ }
}
unix:!CONFIG(bundled-speex):system(pkg-config --atleast-version=1.2 speexdsp) {