QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++14 # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ HighlighterManager.cpp \ compiler/compiler.cpp \ compiler/compilermanager.cpp \ compiler/executablerunner.cpp \ compiler/filecompiler.cpp \ editor.cpp \ editorlist.cpp \ main.cpp \ mainwindow.cpp \ qsynedit/CodeFolding.cpp \ qsynedit/Constants.cpp \ qsynedit/KeyStrokes.cpp \ qsynedit/MiscClasses.cpp \ qsynedit/MiscProcs.cpp \ qsynedit/SynEdit.cpp \ qsynedit/TextBuffer.cpp \ qsynedit/TextPainter.cpp \ qsynedit/exporter/synexporter.cpp \ qsynedit/highlighter/base.cpp \ qsynedit/highlighter/composition.cpp \ qsynedit/highlighter/cpp.cpp \ settingsdialog/compilersetdirectorieswidget.cpp \ settingsdialog/compilersetoptionwidget.cpp \ settings.cpp \ settingsdialog/editorfontwidget.cpp \ settingsdialog/editorgeneralwidget.cpp \ settingsdialog/settingsdialog.cpp \ settingsdialog/settingswidget.cpp \ systemconsts.cpp \ utils.cpp \ widgets/coloredit.cpp \ widgets/issuestable.cpp HEADERS += \ HighlighterManager.h \ compiler/compiler.h \ compiler/compilermanager.h \ compiler/executablerunner.h \ compiler/filecompiler.h \ editor.h \ editorlist.h \ mainwindow.h \ qsynedit/CodeFolding.h \ qsynedit/Constants.h \ qsynedit/KeyStrokes.h \ qsynedit/MiscClasses.h \ qsynedit/MiscProcs.h \ qsynedit/SynEdit.h \ qsynedit/TextBuffer.h \ qsynedit/TextPainter.h \ qsynedit/Types.h \ qsynedit/exporter/synexporter.h \ qsynedit/highlighter/base.h \ qsynedit/highlighter/composition.h \ qsynedit/highlighter/cpp.h \ settingsdialog/compilersetdirectorieswidget.h \ settingsdialog/compilersetoptionwidget.h \ settings.h \ settingsdialog/editorfontwidget.h \ settingsdialog/editorgeneralwidget.h \ settingsdialog/settingsdialog.h \ settingsdialog/settingswidget.h \ systemconsts.h \ utils.h \ common.h \ widgets/coloredit.h \ widgets/issuestable.h FORMS += \ mainwindow.ui \ settingsdialog/compilersetdirectorieswidget.ui \ settingsdialog/compilersetoptionwidget.ui \ settingsdialog/editorfontwidget.ui \ settingsdialog/editorgeneralwidget.ui \ settingsdialog/settingsdialog.ui TRANSLATIONS += \ RedPandaIDE_zh_CN.ts # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target RESOURCES += \ icons.qrc #win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../QScintilla/src/release/ -lqscintilla2_qt5d #else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../QScintilla/src/debug/ -lqscintilla2_qt5d #else:unix: LIBS += -L$$OUT_PWD/../../QScintilla/src/ -lqscintilla2_qt5d #INCLUDEPATH += $$PWD/../../QScintilla/src #DEPENDPATH += $$PWD/../../QScintilla/src