From c3ef42dad254f6d04cab521c9ae619a46bb84f7a Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: ćšć, 21 11æ 2024 21:17:32 +0800 Subject: [PATCH] Fix #151 and a crash bug related to sub frameless window --- share/qmake/QWKCore.pri.in | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/share/qmake/QWKCore.pri.in b/share/qmake/QWKCore.pri.in index 978f9fb..42ce8d2 100644 --- a/share/qmake/QWKCore.pri.in +++ b/share/qmake/QWKCore.pri.in @@ -12,7 +12,7 @@ $$QMAKE_QWK_INSTALL_PREFIX/$$QMAKE_QWK_INSTALL_INCDIR/QWindowKit # Shared link directory - LIBS += \ + QMAKE_QWK_LIB_PATHS += \ "-L$$QMAKE_QWK_INSTALL_PREFIX/$$QMAKE_QWK_INSTALL_LIBDIR" CONFIG(debug, debug|release) { @@ -21,5 +21,7 @@ LIBS += -l@QMAKE_QWK_CORE_NAME_RELEASE@ } + LIBS = $$QMAKE_QWK_LIB_PATHS $$LIBS + @QMAKE_QWK_CORE_STATIC_MACRO@ } \ No newline at end of file -- Gitblit v1.9.1