texstudio/texstudio-use-system-qtsingleapplication-instead-of-bundled-on.patch

33 lines
857 B
Diff
Raw Normal View History

2018-02-11 06:54:33 +00:00
From 6eb7d610c440c4656943879be0f673dc168cc9fb Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Sat, 10 Feb 2018 10:21:23 +0100
Subject: [PATCH] qtsingle patch
---
texstudio.pro | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/texstudio.pro b/texstudio.pro
index 74cd63c..572558f 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -35,8 +35,13 @@ QT += \
2015-10-27 06:09:40 +00:00
DEFINES += PHONON
}
contains($$list($$[QT_VERSION]), 4.3.*):message("qt 4.3.x")
2018-02-11 06:54:33 +00:00
-else:include(src/qtsingleapplication/qtsingleapplication.pri)
-
+else: {
+isEmpty(USE_SYSTEM_QTSINGLEAPPLICATION){
+include(qtsingleapplication/qtsingleapplication.pri)
+} else {
+CONFIG += qtsingleapplication
+}
+}
2015-10-27 06:09:40 +00:00
# ##############################
# precompile_header: PRECOMPILED_HEADER = mostQtHeaders.h
2018-02-11 06:54:33 +00:00
# principal sources
--
2.14.3