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

33 lines
815 B
Diff

From 7005c1602c40064fb9ef9f5a2fa0c0f0f243a320 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Wed, 30 Nov 2011 21:21:49 +0000
Subject: [PATCH 2/2] qtsingle
---
texstudio.pro | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/texstudio.pro b/texstudio.pro
index c5b5ec6..68f36ca 100644
--- texstudio.pro
+++ texstudio.pro
@@ -10,8 +10,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
@@ -514,3 +512,6 @@ unix {
# use system hunspell
PKGCONFIG += hunspell
}
+
+#use system qtsingleapplication
+CONFIG += qtsingleapplication
--
1.7.7.3