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

32 lines
821 B
Diff

From 99c3b431788b0810fea667ff70a0cb20536a4dd8 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Sun, 16 Jun 2013 10:02:15 +0200
Subject: [PATCH 2/2] qtsingle_patch
---
texstudio.pro | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/texstudio.pro b/texstudio.pro
index d72f7ea..af56822 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -11,8 +11,6 @@ QT += network \
QT += phonon
DEFINES += PHONON
}
-contains($$list($$[QT_VERSION]), 4.3.*):message("qt 4.3.x")
-else:include(qtsingleapplication/qtsingleapplication.pri)
# ##############################
PRECOMPILED_HEADER = mostQtHeaders.h
@@ -651,3 +649,5 @@ unix {
# use system hunspell
PKGCONFIG += hunspell
}
+#use system qtsingleapplication
+CONFIG += qtsingleapplication
--
1.8.2.1