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

32 lines
819 B
Diff
Raw Normal View History

2019-06-07 15:53:30 +00:00
From 5ba8c70f0c60e76b6b79b5025a61eb055b5695a7 Mon Sep 17 00:00:00 2001
2018-02-11 06:54:33 +00:00
From: hannes <hannes@fedoraproject.org>
2019-06-07 15:53:30 +00:00
Date: Fri, 7 Jun 2019 17:33:08 +0200
Subject: [PATCH] qtsingle
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-06-07 15:53:30 +00:00
index e360316..17e4af8 100644
2018-02-11 06:54:33 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2019-06-07 15:53:30 +00:00
@@ -35,7 +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)
2019-06-07 15:53:30 +00:00
+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
--
2019-06-07 15:53:30 +00:00
2.21.0
2018-02-11 06:54:33 +00:00