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

37 lines
942 B
Diff

From 15100e67881ac6ba99e4c29baaa4cb2baa62c3be Mon Sep 17 00:00:00 2001
From: Haikel Guemar <haikel.guemar@sysfera.com>
Date: Thu, 28 Jul 2011 17:07:49 +0200
Subject: [PATCH 3/3] use system qtsingleapplication instead of bundled one
---
texstudio.pro | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git texstudio.pro texstudio.pro
index c0b67da..0c1d9f1 100644
--- texstudio.pro
+++ texstudio.pro
@@ -14,8 +14,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
@@ -503,4 +501,7 @@ unix {
CONFIG += link_pkgconfig
# use system hunspell
PKGCONFIG += hunspell
-}
\ No newline at end of file
+}
+
+# use system qtsingleapplication
+CONFIG += qtsingleapplication
\ No newline at end of file
--
1.7.4.4