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

30 lines
761 B
Diff
Raw Normal View History

2021-09-27 05:50:13 +00:00
From 80f36b2b857c73ce4c74d3e16fc0745b83d4fbff Mon Sep 17 00:00:00 2001
2018-02-11 06:54:33 +00:00
From: hannes <hannes@fedoraproject.org>
2021-09-27 05:50:13 +00:00
Date: Sun, 26 Sep 2021 07:45:00 +0200
Subject: [PATCH] qtsingle
2018-02-11 06:54:33 +00:00
---
2020-08-25 19:36:32 +00:00
texstudio.pro | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
2018-02-11 06:54:33 +00:00
diff --git a/texstudio.pro b/texstudio.pro
2021-09-27 05:50:13 +00:00
index 16e704b..c59894e 100644
2018-02-11 06:54:33 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2021-09-27 05:50:13 +00:00
@@ -105,7 +105,11 @@ versionGreaterOrEqual($$QT_VERSION, "6.0.0") {
}
2019-12-26 10:58:53 +00:00
}
2020-08-25 19:36:32 +00:00
-include(src/qtsingleapplication/qtsingleapplication.pri)
2019-12-26 10:58:53 +00:00
+isEmpty(USE_SYSTEM_QTSINGLEAPPLICATION){
2020-08-25 19:36:32 +00:00
+ include(qtsingleapplication/qtsingleapplication.pri)
2019-12-26 10:58:53 +00:00
+} else {
2020-08-25 19:36:32 +00:00
+ CONFIG += qtsingleapplication
2019-12-26 10:58:53 +00:00
+}
# ##############################
# precompile_header: PRECOMPILED_HEADER = mostQtHeaders.h
2018-02-11 06:54:33 +00:00
--
2021-05-20 16:39:24 +00:00
2.31.1
2018-02-11 06:54:33 +00:00