Blob Blame History Raw
From 56b0ae1e6cd6457cd19501911b06ae731bdcc53c Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Sat, 2 Jan 2021 09:27:47 +0100
Subject: [PATCH] qtsingle patch

---
 texstudio.pro | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/texstudio.pro b/texstudio.pro
index 72a51bf..a353278 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -101,7 +101,11 @@ isEmpty(INTERNAL_TERMINAL):pkgAtLeastVersion("qtermwidget5", "0.9.0") {
     message(Use experimental JS engine)
 }
 
-include(src/qtsingleapplication/qtsingleapplication.pri)
+isEmpty(USE_SYSTEM_QTSINGLEAPPLICATION){
+    include(qtsingleapplication/qtsingleapplication.pri)
+} else {
+    CONFIG += qtsingleapplication
+}
 
 # ##############################
 # precompile_header: PRECOMPILED_HEADER = mostQtHeaders.h
-- 
2.29.2