diff --git a/NEWS.md b/NEWS.md index 4671886f..eb49c058 100644 --- a/NEWS.md +++ b/NEWS.md @@ -6,6 +6,7 @@ Red Panda C++ Version 1.4 - change: when create non-text project file, don't auto open it - fix: the project compiler options is not correctly read when open old dev-c++ project - fix: astyle.exe can't correctly format files that using non-ascii identifier + - fix: when "cleary symbol table of hidden editors" is turned on, content in the editor reshown is not correctly parsed Red Panda C++ Version 1.3 diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index 8e6c38d1..85a642c5 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -53,14 +53,15 @@ msvc { #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 -CONFIG(debug_and_release_target): { - CONFIG(debug): { +CONFIG(debug_and_release_target) { + CONFIG(debug, debug|release) { OBJ_OUT_PWD = debug } - CONFIG(release): { + CONFIG(release, debug|release) { OBJ_OUT_PWD = release } } + INCLUDEPATH += ../libs/qsynedit ../libs/redpanda_qt_utils LIBS += -L$$OUT_PWD/../libs/redpanda_qt_utils/$$OBJ_OUT_PWD \ -L$$OUT_PWD/../libs/qsynedit/$$OBJ_OUT_PWD \ diff --git a/RedPandaIDE/compiler/compiler.cpp b/RedPandaIDE/compiler/compiler.cpp index fe515d56..ce485c3f 100644 --- a/RedPandaIDE/compiler/compiler.cpp +++ b/RedPandaIDE/compiler/compiler.cpp @@ -352,6 +352,7 @@ QString Compiler::getCharsetArgument(const QByteArray& encoding,FileType fileTyp } else { execEncodingName = compilerSetExecCharset; } + qDebug()<