2021-04-06 23:10:57 +08:00
|
|
|
QT += core gui
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
2021-06-12 22:36:23 +08:00
|
|
|
CONFIG += c++17
|
2021-04-06 23:10:57 +08:00
|
|
|
|
|
|
|
# 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 += \
|
2021-05-26 00:04:20 +08:00
|
|
|
HighlighterManager.cpp \
|
2021-06-17 10:39:46 +08:00
|
|
|
colorscheme.cpp \
|
2021-04-20 22:24:33 +08:00
|
|
|
compiler/compiler.cpp \
|
|
|
|
compiler/compilermanager.cpp \
|
2021-04-21 18:58:35 +08:00
|
|
|
compiler/executablerunner.cpp \
|
2021-04-20 22:24:33 +08:00
|
|
|
compiler/filecompiler.cpp \
|
2021-04-06 23:10:57 +08:00
|
|
|
editor.cpp \
|
|
|
|
editorlist.cpp \
|
|
|
|
main.cpp \
|
|
|
|
mainwindow.cpp \
|
2021-05-14 23:56:43 +08:00
|
|
|
qsynedit/CodeFolding.cpp \
|
|
|
|
qsynedit/Constants.cpp \
|
|
|
|
qsynedit/KeyStrokes.cpp \
|
|
|
|
qsynedit/MiscClasses.cpp \
|
|
|
|
qsynedit/MiscProcs.cpp \
|
|
|
|
qsynedit/SynEdit.cpp \
|
|
|
|
qsynedit/TextBuffer.cpp \
|
|
|
|
qsynedit/TextPainter.cpp \
|
2021-06-10 09:34:59 +08:00
|
|
|
qsynedit/exporter/synexporter.cpp \
|
2021-06-12 22:36:23 +08:00
|
|
|
qsynedit/exporter/synhtmlexporter.cpp \
|
|
|
|
qsynedit/exporter/synrtfexporter.cpp \
|
2021-05-14 23:56:43 +08:00
|
|
|
qsynedit/highlighter/base.cpp \
|
|
|
|
qsynedit/highlighter/composition.cpp \
|
|
|
|
qsynedit/highlighter/cpp.cpp \
|
2021-04-16 22:04:48 +08:00
|
|
|
settingsdialog/compilersetdirectorieswidget.cpp \
|
|
|
|
settingsdialog/compilersetoptionwidget.cpp \
|
2021-04-08 10:29:21 +08:00
|
|
|
settings.cpp \
|
2021-06-12 22:36:23 +08:00
|
|
|
settingsdialog/editorclipboardwidget.cpp \
|
2021-06-14 08:01:00 +08:00
|
|
|
settingsdialog/editorcolorschemewidget.cpp \
|
2021-06-08 21:41:42 +08:00
|
|
|
settingsdialog/editorfontwidget.cpp \
|
2021-06-07 11:02:03 +08:00
|
|
|
settingsdialog/editorgeneralwidget.cpp \
|
2021-06-21 16:25:21 +08:00
|
|
|
settingsdialog/editorsymbolcompletionwidget.cpp \
|
2021-06-18 21:48:40 +08:00
|
|
|
settingsdialog/environmentappearencewidget.cpp \
|
2021-04-16 22:04:48 +08:00
|
|
|
settingsdialog/settingsdialog.cpp \
|
|
|
|
settingsdialog/settingswidget.cpp \
|
2021-04-11 21:33:08 +08:00
|
|
|
systemconsts.cpp \
|
2021-04-24 15:57:45 +08:00
|
|
|
utils.cpp \
|
2021-06-07 11:02:03 +08:00
|
|
|
widgets/coloredit.cpp \
|
2021-06-20 14:30:47 +08:00
|
|
|
widgets/issuestable.cpp \
|
|
|
|
widgets/qpatchedcombobox.cpp
|
2021-04-06 23:10:57 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
2021-05-26 00:04:20 +08:00
|
|
|
HighlighterManager.h \
|
2021-06-17 10:39:46 +08:00
|
|
|
colorscheme.h \
|
2021-04-20 22:24:33 +08:00
|
|
|
compiler/compiler.h \
|
|
|
|
compiler/compilermanager.h \
|
2021-04-21 18:58:35 +08:00
|
|
|
compiler/executablerunner.h \
|
2021-04-20 22:24:33 +08:00
|
|
|
compiler/filecompiler.h \
|
2021-04-06 23:10:57 +08:00
|
|
|
editor.h \
|
|
|
|
editorlist.h \
|
|
|
|
mainwindow.h \
|
2021-05-14 23:56:43 +08:00
|
|
|
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 \
|
2021-06-10 09:34:59 +08:00
|
|
|
qsynedit/exporter/synexporter.h \
|
2021-06-12 22:36:23 +08:00
|
|
|
qsynedit/exporter/synhtmlexporter.h \
|
|
|
|
qsynedit/exporter/synrtfexporter.h \
|
2021-05-14 23:56:43 +08:00
|
|
|
qsynedit/highlighter/base.h \
|
|
|
|
qsynedit/highlighter/composition.h \
|
|
|
|
qsynedit/highlighter/cpp.h \
|
2021-04-16 22:04:48 +08:00
|
|
|
settingsdialog/compilersetdirectorieswidget.h \
|
|
|
|
settingsdialog/compilersetoptionwidget.h \
|
2021-04-08 10:29:21 +08:00
|
|
|
settings.h \
|
2021-06-12 22:36:23 +08:00
|
|
|
settingsdialog/editorclipboardwidget.h \
|
2021-06-14 08:01:00 +08:00
|
|
|
settingsdialog/editorcolorschemewidget.h \
|
2021-06-08 21:41:42 +08:00
|
|
|
settingsdialog/editorfontwidget.h \
|
2021-06-07 11:02:03 +08:00
|
|
|
settingsdialog/editorgeneralwidget.h \
|
2021-06-21 16:25:21 +08:00
|
|
|
settingsdialog/editorsymbolcompletionwidget.h \
|
2021-06-18 21:48:40 +08:00
|
|
|
settingsdialog/environmentappearencewidget.h \
|
2021-04-16 22:04:48 +08:00
|
|
|
settingsdialog/settingsdialog.h \
|
|
|
|
settingsdialog/settingswidget.h \
|
2021-04-11 21:33:08 +08:00
|
|
|
systemconsts.h \
|
2021-04-24 15:57:45 +08:00
|
|
|
utils.h \
|
|
|
|
common.h \
|
2021-06-07 11:02:03 +08:00
|
|
|
widgets/coloredit.h \
|
2021-06-20 14:30:47 +08:00
|
|
|
widgets/issuestable.h \
|
|
|
|
widgets/qpatchedcombobox.h
|
2021-04-06 23:10:57 +08:00
|
|
|
|
|
|
|
FORMS += \
|
2021-04-13 22:17:18 +08:00
|
|
|
mainwindow.ui \
|
2021-04-16 22:04:48 +08:00
|
|
|
settingsdialog/compilersetdirectorieswidget.ui \
|
|
|
|
settingsdialog/compilersetoptionwidget.ui \
|
2021-06-12 22:36:23 +08:00
|
|
|
settingsdialog/editorclipboardwidget.ui \
|
2021-06-14 08:01:00 +08:00
|
|
|
settingsdialog/editorcolorschemewidget.ui \
|
2021-06-08 21:41:42 +08:00
|
|
|
settingsdialog/editorfontwidget.ui \
|
2021-06-07 11:02:03 +08:00
|
|
|
settingsdialog/editorgeneralwidget.ui \
|
2021-06-21 16:25:21 +08:00
|
|
|
settingsdialog/editorsymbolcompletionwidget.ui \
|
2021-06-18 21:48:40 +08:00
|
|
|
settingsdialog/environmentappearencewidget.ui \
|
2021-04-16 22:04:48 +08:00
|
|
|
settingsdialog/settingsdialog.ui
|
2021-04-06 23:10:57 +08:00
|
|
|
|
|
|
|
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
|
2021-04-07 21:13:15 +08:00
|
|
|
|
2021-04-08 10:29:21 +08:00
|
|
|
RESOURCES += \
|
2021-06-18 22:57:19 +08:00
|
|
|
colorschemes.qrc \
|
2021-06-18 21:48:40 +08:00
|
|
|
themes/dark/dark.qrc \
|
|
|
|
themes/light/light.qrc \
|
|
|
|
themes/dracula/dracula.qrc \
|
2021-06-20 09:27:37 +08:00
|
|
|
icons.qrc \
|
|
|
|
translations.qrc
|
2021-04-21 18:58:35 +08:00
|
|
|
|
2021-05-14 23:56:43 +08:00
|
|
|
#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
|
2021-05-14 12:27:53 +08:00
|
|
|
|
2021-05-14 23:56:43 +08:00
|
|
|
#INCLUDEPATH += $$PWD/../../QScintilla/src
|
|
|
|
#DEPENDPATH += $$PWD/../../QScintilla/src
|