From de9459977429efa602aeeab47471a93446f68a8c Mon Sep 17 00:00:00 2001 From: hannes Date: Thu, 20 May 2021 18:23:43 +0200 Subject: [PATCH] qtsingle patch --- texstudio.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/texstudio.pro b/texstudio.pro index 40a4e51..e499cfd 100644 --- a/texstudio.pro +++ b/texstudio.pro @@ -105,7 +105,11 @@ isEmpty(INTERNAL_TERMINAL):pkgAtLeastVersion("qtermwidget5", "0.9.0") { message(Use experimental JS engine) } -include(src/qtsingleapplication/qtsingleapplication.pri) +isEmpty(USE_SYSTEM_QTSINGLEAPPLICATION){ + include(qtsingleapplication/qtsingleapplication.pri) +} else { + CONFIG += qtsingleapplication +} # ############################## # precompile_header: PRECOMPILED_HEADER = mostQtHeaders.h -- 2.31.1