From acbe5a1c9478b05a483430f84c8e1fc6c0d3a3a8 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Wed, 19 Oct 2022 19:07:01 +0800 Subject: [PATCH] fix gcc / clang link problem --- RedPandaIDE/RedPandaIDE.pro | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index b89e8e93..3febad8f 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -55,16 +55,19 @@ msvc { CONFIG(debug_and_release_target) { CONFIG(debug, debug|release) { - OBJ_OUT_PWD = debug + OBJ_OUT_PWD = debug/ } CONFIG(release, debug|release) { - OBJ_OUT_PWD = release + OBJ_OUT_PWD = release/ } } INCLUDEPATH += ../libs/qsynedit ../libs/redpanda_qt_utils -LIBS += $$OUT_PWD/../libs/qsynedit/$${OBJ_OUT_PWD}libqsynedit.a + +gcc | clang { +LIBS += $$OUT_PWD/../libs/qsynedit/$${OBJ_OUT_PWD}libqsynedit.a \ $$OUT_PWD/../libs/redpanda_qt_utils/$${OBJ_OUT_PWD}libredpanda_qt_utils.a +} SOURCES += \ HighlighterManager.cpp \