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

30 lines
826 B
Diff
Raw Normal View History

2021-05-20 16:39:24 +00:00
From de9459977429efa602aeeab47471a93446f68a8c Mon Sep 17 00:00:00 2001
2018-02-11 06:54:33 +00:00
From: hannes <hannes@fedoraproject.org>
2021-05-20 16:39:24 +00:00
Date: Thu, 20 May 2021 18:23:43 +0200
2021-01-02 09:50:22 +00:00
Subject: [PATCH] qtsingle patch
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-05-20 16:39:24 +00:00
index 40a4e51..e499cfd 100644
2018-02-11 06:54:33 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2021-05-20 16:39:24 +00:00
@@ -105,7 +105,11 @@ isEmpty(INTERNAL_TERMINAL):pkgAtLeastVersion("qtermwidget5", "0.9.0") {
2020-08-25 19:36:32 +00:00
message(Use experimental JS engine)
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