From 6eb7d610c440c4656943879be0f673dc168cc9fb Mon Sep 17 00:00:00 2001 From: hannes Date: Sat, 10 Feb 2018 10:21:23 +0100 Subject: [PATCH] qtsingle patch --- texstudio.pro | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/texstudio.pro b/texstudio.pro index 74cd63c..572558f 100644 --- a/texstudio.pro +++ b/texstudio.pro @@ -35,8 +35,13 @@ QT += \ DEFINES += PHONON } contains($$list($$[QT_VERSION]), 4.3.*):message("qt 4.3.x") -else:include(src/qtsingleapplication/qtsingleapplication.pri) - +else: { +isEmpty(USE_SYSTEM_QTSINGLEAPPLICATION){ +include(qtsingleapplication/qtsingleapplication.pri) +} else { +CONFIG += qtsingleapplication +} +} # ############################## # precompile_header: PRECOMPILED_HEADER = mostQtHeaders.h # principal sources -- 2.14.3