From 5ba8c70f0c60e76b6b79b5025a61eb055b5695a7 Mon Sep 17 00:00:00 2001 From: hannes Date: Fri, 7 Jun 2019 17:33:08 +0200 Subject: [PATCH] qtsingle --- texstudio.pro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/texstudio.pro b/texstudio.pro index e360316..17e4af8 100644 --- a/texstudio.pro +++ b/texstudio.pro @@ -35,7 +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 -- 2.21.0