texstudio/texstudio-use-system-qtsing...

31 lines
822 B
Diff

From 74c852ca1acfd5613bf45153c8ca9780c698241a Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Tue, 9 Sep 2014 20:29:09 +0200
Subject: [PATCH 2/2] qtsingle
---
texstudio.pro | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/texstudio.pro b/texstudio.pro
index e125fef..5f1e323 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -33,8 +33,6 @@ QT += \
}
DEFINES += PHONON
}
-contains($$list($$[QT_VERSION]), 4.3.*):message("qt 4.3.x")
-else:include(qtsingleapplication/qtsingleapplication.pri)
# ##############################
# precompile_header: PRECOMPILED_HEADER = mostQtHeaders.h
@@ -678,3 +676,5 @@ unix {
# use system hunspell
PKGCONFIG += hunspell
}
+#use system qtsingleapplication
+CONFIG += qtsingleapplication
--
1.9.3