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

32 lines
791 B
Diff
Raw Normal View History

2019-12-26 10:58:53 +00:00
From 57ac2462153cb86f149e6509047b8044d60133a6 Mon Sep 17 00:00:00 2001
2018-02-11 06:54:33 +00:00
From: hannes <hannes@fedoraproject.org>
2019-12-26 10:58:53 +00:00
Date: Thu, 26 Dec 2019 11:43:04 +0100
Subject: [PATCH] qtsingle_patch
2018-02-11 06:54:33 +00:00
---
2019-06-07 15:53:30 +00:00
texstudio.pro | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
2018-02-11 06:54:33 +00:00
diff --git a/texstudio.pro b/texstudio.pro
2019-12-26 10:58:53 +00:00
index 87b6d25..88b115d 100644
2018-02-11 06:54:33 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2019-12-26 10:58:53 +00:00
@@ -42,7 +42,13 @@ QT += \
}
contains($$list($$[QT_VERSION]), 4.3.*):message("qt 4.3.x")
-else:include(src/qtsingleapplication/qtsingleapplication.pri)
+else: {
+isEmpty(USE_SYSTEM_QTSINGLEAPPLICATION){
+include(qtsingleapplication/qtsingleapplication.pri)
+} else {
+CONFIG += qtsingleapplication
+}
+}
# ##############################
# precompile_header: PRECOMPILED_HEADER = mostQtHeaders.h
2018-02-11 06:54:33 +00:00
--
2019-12-26 10:58:53 +00:00
2.24.1
2018-02-11 06:54:33 +00:00