2021-11-06 14:49:11 +08:00
|
|
|
QT += core gui printsupport network svg
|
2021-04-06 23:10:57 +08:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
2021-06-12 22:36:23 +08:00
|
|
|
CONFIG += c++17
|
2021-08-29 10:14:07 +08:00
|
|
|
CONFIG += nokey
|
2021-04-06 23:10:57 +08:00
|
|
|
|
2022-01-05 08:18:47 +08:00
|
|
|
isEmpty(APP_NAME) {
|
|
|
|
APP_NAME = RedPandaCPP
|
|
|
|
}
|
2021-12-30 08:59:10 +08:00
|
|
|
|
2022-01-18 21:03:43 +08:00
|
|
|
isEmpty(APP_VERSION) {
|
2022-08-05 20:56:09 +08:00
|
|
|
APP_VERSION=1.2
|
2022-01-18 21:03:43 +08:00
|
|
|
}
|
|
|
|
|
2022-05-23 01:34:38 +08:00
|
|
|
macos: {
|
|
|
|
# This package needs to be installed via homebrew before we can compile it
|
|
|
|
INCLUDEPATH += \
|
|
|
|
/opt/homebrew/opt/icu4c/include
|
2022-03-29 09:43:24 +08:00
|
|
|
|
2022-05-23 01:34:38 +08:00
|
|
|
QT += gui-private
|
2022-05-28 19:34:36 +08:00
|
|
|
|
2022-05-30 17:21:31 +08:00
|
|
|
ICON = ../macos/RedPandaIDE.icns
|
2022-05-23 01:34:38 +08:00
|
|
|
}
|
2022-03-29 09:43:24 +08:00
|
|
|
|
2022-03-10 21:26:39 +08:00
|
|
|
win32: VERSION = $${APP_VERSION}.0
|
|
|
|
else: VERSION = $${APP_VERSION}
|
|
|
|
|
2022-01-05 09:08:44 +08:00
|
|
|
isEmpty(PREFIX) {
|
|
|
|
PREFIX = /usr/local
|
|
|
|
}
|
|
|
|
|
2022-07-20 19:41:06 +08:00
|
|
|
# windows 7 is the minimum windows version
|
|
|
|
win32: {
|
2022-07-20 19:38:01 +08:00
|
|
|
DEFINES += _WIN32_WINNT=0x0601
|
2022-07-20 19:41:06 +08:00
|
|
|
}
|
|
|
|
|
2022-01-05 09:08:44 +08:00
|
|
|
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
|
|
|
|
DEFINES += APP_NAME=\\\"$${APP_NAME}\\\"
|
2022-01-08 13:51:34 +08:00
|
|
|
DEFINES += REDPANDA_CPP_VERSION=\\\"$${APP_VERSION}\\\"
|
2022-01-05 09:08:44 +08:00
|
|
|
|
2021-11-05 10:44:23 +08:00
|
|
|
gcc {
|
|
|
|
QMAKE_CXXFLAGS_RELEASE += -Werror=return-type
|
|
|
|
QMAKE_CXXFLAGS_DEBUG += -Werror=return-type
|
|
|
|
}
|
2021-08-27 16:38:55 +08:00
|
|
|
|
2022-03-29 09:43:24 +08:00
|
|
|
msvc {
|
2022-05-28 19:34:36 +08:00
|
|
|
DEFINES += NOMINMAX
|
2022-03-29 09:43:24 +08:00
|
|
|
}
|
|
|
|
|
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-09-04 11:37:04 +08:00
|
|
|
autolinkmanager.cpp \
|
2021-09-02 12:14:02 +08:00
|
|
|
caretlist.cpp \
|
2021-08-31 19:15:11 +08:00
|
|
|
codeformatter.cpp \
|
2021-09-30 11:20:43 +08:00
|
|
|
codesnippetsmanager.cpp \
|
2021-06-17 10:39:46 +08:00
|
|
|
colorscheme.cpp \
|
2022-05-13 20:22:16 +08:00
|
|
|
compiler/compilerinfo.cpp \
|
2021-11-01 09:18:23 +08:00
|
|
|
compiler/ojproblemcasesrunner.cpp \
|
2021-09-13 07:49:36 +08:00
|
|
|
compiler/projectcompiler.cpp \
|
2021-11-01 09:18:23 +08:00
|
|
|
compiler/runner.cpp \
|
2022-02-13 20:08:18 +08:00
|
|
|
customfileiconprovider.cpp \
|
2021-11-12 10:51:00 +08:00
|
|
|
gdbmiresultparser.cpp \
|
2021-09-12 01:01:34 +08:00
|
|
|
platform.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-06-24 20:43:09 +08:00
|
|
|
compiler/stdincompiler.cpp \
|
2021-09-03 16:39:20 +08:00
|
|
|
cpprefacter.cpp \
|
2021-08-14 22:52:37 +08:00
|
|
|
parser/cppparser.cpp \
|
2021-08-05 23:13:21 +08:00
|
|
|
parser/cpppreprocessor.cpp \
|
2021-08-13 22:53:26 +08:00
|
|
|
parser/cpptokenizer.cpp \
|
2021-08-13 11:18:42 +08:00
|
|
|
parser/parserutils.cpp \
|
2021-08-05 23:13:21 +08:00
|
|
|
parser/statementmodel.cpp \
|
2021-11-01 20:44:08 +08:00
|
|
|
problems/ojproblemset.cpp \
|
2021-11-01 22:33:16 +08:00
|
|
|
problems/problemcasevalidator.cpp \
|
2021-09-05 23:45:05 +08:00
|
|
|
project.cpp \
|
2021-09-16 12:03:10 +08:00
|
|
|
projectoptions.cpp \
|
2021-09-15 22:19:59 +08:00
|
|
|
projecttemplate.cpp \
|
2021-08-02 17:24:11 +08:00
|
|
|
qsynedit/Search.cpp \
|
|
|
|
qsynedit/SearchBase.cpp \
|
|
|
|
qsynedit/SearchRegex.cpp \
|
2021-09-25 07:51:48 +08:00
|
|
|
qsynedit/Types.cpp \
|
2021-09-04 16:34:14 +08:00
|
|
|
settingsdialog/compilerautolinkwidget.cpp \
|
2021-08-01 23:24:37 +08:00
|
|
|
settingsdialog/debuggeneralwidget.cpp \
|
2021-08-30 22:05:45 +08:00
|
|
|
settingsdialog/editorautosavewidget.cpp \
|
2021-08-30 16:59:08 +08:00
|
|
|
settingsdialog/editorcodecompletionwidget.cpp \
|
2021-08-30 17:10:46 +08:00
|
|
|
settingsdialog/editormiscwidget.cpp \
|
2021-09-30 12:52:22 +08:00
|
|
|
settingsdialog/editorsnippetwidget.cpp \
|
2021-09-21 20:36:43 +08:00
|
|
|
settingsdialog/editortooltipswidget.cpp \
|
2021-10-08 20:01:29 +08:00
|
|
|
settingsdialog/environmentfolderswidget.cpp \
|
2021-11-08 21:19:48 +08:00
|
|
|
settingsdialog/environmentperformancewidget.cpp \
|
2021-10-06 12:19:46 +08:00
|
|
|
settingsdialog/environmentshortcutwidget.cpp \
|
2021-11-02 13:12:36 +08:00
|
|
|
settingsdialog/executorproblemsetwidget.cpp \
|
2021-08-31 19:15:11 +08:00
|
|
|
settingsdialog/formattergeneralwidget.cpp \
|
2021-09-15 14:35:37 +08:00
|
|
|
settingsdialog/projectcompileparamaterswidget.cpp \
|
2021-09-15 08:02:08 +08:00
|
|
|
settingsdialog/projectcompilerwidget.cpp \
|
2021-09-15 16:57:28 +08:00
|
|
|
settingsdialog/projectdirectorieswidget.cpp \
|
2021-09-18 22:37:07 +08:00
|
|
|
settingsdialog/projectdllhostwidget.cpp \
|
2021-09-14 17:33:47 +08:00
|
|
|
settingsdialog/projectfileswidget.cpp \
|
2021-09-14 14:05:43 +08:00
|
|
|
settingsdialog/projectgeneralwidget.cpp \
|
2021-09-15 22:19:59 +08:00
|
|
|
settingsdialog/projectmakefilewidget.cpp \
|
|
|
|
settingsdialog/projectoutputwidget.cpp \
|
2021-09-15 16:57:28 +08:00
|
|
|
settingsdialog/projectprecompilewidget.cpp \
|
2021-10-07 08:34:10 +08:00
|
|
|
settingsdialog/toolsgeneralwidget.cpp \
|
2022-02-08 23:38:29 +08:00
|
|
|
settingsdialog/toolsgitwidget.cpp \
|
2021-10-06 23:19:18 +08:00
|
|
|
shortcutmanager.cpp \
|
2021-09-30 11:20:43 +08:00
|
|
|
symbolusagemanager.cpp \
|
2021-10-15 13:49:28 +08:00
|
|
|
thememanager.cpp \
|
2021-10-03 17:18:43 +08:00
|
|
|
todoparser.cpp \
|
2021-10-08 00:06:41 +08:00
|
|
|
toolsmanager.cpp \
|
2022-02-19 20:38:08 +08:00
|
|
|
vcs/gitbranchdialog.cpp \
|
2022-02-24 07:22:44 +08:00
|
|
|
vcs/gitfetchdialog.cpp \
|
2022-02-21 23:35:28 +08:00
|
|
|
vcs/gitlogdialog.cpp \
|
2022-02-08 23:38:29 +08:00
|
|
|
vcs/gitmanager.cpp \
|
2022-02-20 13:26:15 +08:00
|
|
|
vcs/gitmergedialog.cpp \
|
2022-02-24 07:22:44 +08:00
|
|
|
vcs/gitpulldialog.cpp \
|
|
|
|
vcs/gitpushdialog.cpp \
|
|
|
|
vcs/gitremotedialog.cpp \
|
2022-02-10 12:03:56 +08:00
|
|
|
vcs/gitrepository.cpp \
|
2022-02-22 09:16:20 +08:00
|
|
|
vcs/gitresetdialog.cpp \
|
2022-02-25 11:07:30 +08:00
|
|
|
vcs/gituserconfigdialog.cpp \
|
2022-02-15 21:39:17 +08:00
|
|
|
vcs/gitutils.cpp \
|
2021-10-03 23:12:20 +08:00
|
|
|
widgets/aboutdialog.cpp \
|
2021-10-21 08:19:15 +08:00
|
|
|
widgets/bookmarkmodel.cpp \
|
2022-02-24 17:33:19 +08:00
|
|
|
widgets/choosethemedialog.cpp \
|
2021-08-23 03:47:28 +08:00
|
|
|
widgets/classbrowser.cpp \
|
2021-08-29 00:48:23 +08:00
|
|
|
widgets/codecompletionlistview.cpp \
|
|
|
|
widgets/codecompletionpopup.cpp \
|
2021-08-01 23:24:37 +08:00
|
|
|
widgets/cpudialog.cpp \
|
2021-07-03 21:57:50 +08:00
|
|
|
debugger.cpp \
|
2021-04-06 23:10:57 +08:00
|
|
|
editor.cpp \
|
|
|
|
editorlist.cpp \
|
2021-06-24 16:05:19 +08:00
|
|
|
iconsmanager.cpp \
|
2021-04-06 23:10:57 +08:00
|
|
|
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-07-01 20:24:47 +08:00
|
|
|
qsynedit/highlighter/asm.cpp \
|
2021-05-14 23:56:43 +08:00
|
|
|
qsynedit/highlighter/base.cpp \
|
|
|
|
qsynedit/highlighter/composition.cpp \
|
|
|
|
qsynedit/highlighter/cpp.cpp \
|
2022-01-23 23:27:48 +08:00
|
|
|
qsynedit/highlighter/glsl.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-25 12:40:11 +08:00
|
|
|
settingsdialog/editorsyntaxcheckwidget.cpp \
|
2021-06-18 21:48:40 +08:00
|
|
|
settingsdialog/environmentappearencewidget.cpp \
|
2021-07-01 19:44:38 +08:00
|
|
|
settingsdialog/executorgeneralwidget.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 \
|
2022-05-13 20:22:16 +08:00
|
|
|
widgets/compileargumentswidget.cpp \
|
2021-07-01 19:44:38 +08:00
|
|
|
widgets/consolewidget.cpp \
|
2022-02-03 21:44:45 +08:00
|
|
|
widgets/customdisablediconengine.cpp \
|
2022-02-14 00:13:00 +08:00
|
|
|
widgets/customfilesystemmodel.cpp \
|
2021-09-15 22:19:59 +08:00
|
|
|
widgets/custommakefileinfodialog.cpp \
|
2021-10-18 22:06:33 +08:00
|
|
|
widgets/darkfusionstyle.cpp \
|
2021-10-23 23:10:34 +08:00
|
|
|
widgets/editorstabwidget.cpp \
|
2021-09-03 21:06:53 +08:00
|
|
|
widgets/filepropertiesdialog.cpp \
|
2021-09-22 17:43:21 +08:00
|
|
|
widgets/functiontooltipwidget.cpp \
|
2021-08-29 00:48:23 +08:00
|
|
|
widgets/headercompletionpopup.cpp \
|
2022-02-20 21:47:57 +08:00
|
|
|
widgets/infomessagebox.cpp \
|
2021-06-20 14:30:47 +08:00
|
|
|
widgets/issuestable.cpp \
|
2021-10-15 10:23:46 +08:00
|
|
|
widgets/labelwithmenu.cpp \
|
2021-12-21 11:57:23 +08:00
|
|
|
widgets/lightfusionstyle.cpp \
|
2022-03-29 21:41:02 +08:00
|
|
|
widgets/linenumbertexteditor.cpp \
|
2021-10-08 00:06:41 +08:00
|
|
|
widgets/macroinfomodel.cpp \
|
2022-01-27 18:34:18 +08:00
|
|
|
widgets/newclassdialog.cpp \
|
2022-01-31 11:57:33 +08:00
|
|
|
widgets/newheaderdialog.cpp \
|
2021-09-16 12:03:10 +08:00
|
|
|
widgets/newprojectdialog.cpp \
|
2022-04-08 17:22:24 +08:00
|
|
|
widgets/newprojectunitdialog.cpp \
|
2022-08-07 21:41:57 +08:00
|
|
|
widgets/newtemplatedialog.cpp \
|
2021-11-04 09:07:06 +08:00
|
|
|
widgets/ojproblempropertywidget.cpp \
|
2021-10-31 17:01:34 +08:00
|
|
|
widgets/ojproblemsetmodel.cpp \
|
2021-07-01 20:24:47 +08:00
|
|
|
widgets/qconsole.cpp \
|
2021-08-02 21:58:39 +08:00
|
|
|
widgets/qpatchedcombobox.cpp \
|
2021-08-04 13:16:15 +08:00
|
|
|
widgets/searchdialog.cpp \
|
2021-11-25 09:05:45 +08:00
|
|
|
widgets/searchresultview.cpp \
|
2022-04-01 21:09:24 +08:00
|
|
|
widgets/shortcutinputedit.cpp \
|
2022-05-21 10:44:39 +08:00
|
|
|
widgets/shrinkabletabwidget.cpp \
|
2021-11-25 09:05:45 +08:00
|
|
|
widgets/signalmessagedialog.cpp
|
2021-04-06 23:10:57 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
2021-05-26 00:04:20 +08:00
|
|
|
HighlighterManager.h \
|
2021-09-12 19:50:44 +08:00
|
|
|
SimpleIni.h \
|
2021-09-04 11:37:04 +08:00
|
|
|
autolinkmanager.h \
|
2021-09-02 12:14:02 +08:00
|
|
|
caretlist.h \
|
2021-08-31 19:15:11 +08:00
|
|
|
codeformatter.h \
|
2021-09-30 11:20:43 +08:00
|
|
|
codesnippetsmanager.h \
|
2021-06-17 10:39:46 +08:00
|
|
|
colorscheme.h \
|
2021-04-20 22:24:33 +08:00
|
|
|
compiler/compiler.h \
|
2022-05-13 20:22:16 +08:00
|
|
|
compiler/compilerinfo.h \
|
2021-04-20 22:24:33 +08:00
|
|
|
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-11-01 09:18:23 +08:00
|
|
|
compiler/ojproblemcasesrunner.h \
|
2021-09-13 07:49:36 +08:00
|
|
|
compiler/projectcompiler.h \
|
2021-11-01 09:18:23 +08:00
|
|
|
compiler/runner.h \
|
2021-06-24 20:43:09 +08:00
|
|
|
compiler/stdincompiler.h \
|
2021-09-03 16:39:20 +08:00
|
|
|
cpprefacter.h \
|
2022-02-13 20:08:18 +08:00
|
|
|
customfileiconprovider.h \
|
2021-11-12 10:51:00 +08:00
|
|
|
gdbmiresultparser.h \
|
2021-08-14 22:52:37 +08:00
|
|
|
parser/cppparser.h \
|
2021-08-05 23:13:21 +08:00
|
|
|
parser/cpppreprocessor.h \
|
2021-08-13 22:53:26 +08:00
|
|
|
parser/cpptokenizer.h \
|
2021-08-13 11:18:42 +08:00
|
|
|
parser/parserutils.h \
|
2021-08-05 23:13:21 +08:00
|
|
|
parser/statementmodel.h \
|
2021-09-03 20:55:14 +08:00
|
|
|
platform.h \
|
2021-11-01 20:44:08 +08:00
|
|
|
problems/ojproblemset.h \
|
|
|
|
problems/problemcasevalidator.h \
|
2021-09-05 23:45:05 +08:00
|
|
|
project.h \
|
2021-09-16 12:03:10 +08:00
|
|
|
projectoptions.h \
|
2021-09-15 22:19:59 +08:00
|
|
|
projecttemplate.h \
|
2021-08-02 17:24:11 +08:00
|
|
|
qsynedit/Search.h \
|
|
|
|
qsynedit/SearchBase.h \
|
|
|
|
qsynedit/SearchRegex.h \
|
2021-09-04 16:34:14 +08:00
|
|
|
settingsdialog/compilerautolinkwidget.h \
|
2021-08-01 23:24:37 +08:00
|
|
|
settingsdialog/debuggeneralwidget.h \
|
2021-08-30 22:05:45 +08:00
|
|
|
settingsdialog/editorautosavewidget.h \
|
2021-08-30 16:59:08 +08:00
|
|
|
settingsdialog/editorcodecompletionwidget.h \
|
2021-08-30 17:10:46 +08:00
|
|
|
settingsdialog/editormiscwidget.h \
|
2021-09-30 12:52:22 +08:00
|
|
|
settingsdialog/editorsnippetwidget.h \
|
2021-09-21 20:36:43 +08:00
|
|
|
settingsdialog/editortooltipswidget.h \
|
2021-10-08 20:01:29 +08:00
|
|
|
settingsdialog/environmentfolderswidget.h \
|
2021-11-08 21:19:48 +08:00
|
|
|
settingsdialog/environmentperformancewidget.h \
|
2021-10-06 12:19:46 +08:00
|
|
|
settingsdialog/environmentshortcutwidget.h \
|
2021-11-02 13:12:36 +08:00
|
|
|
settingsdialog/executorproblemsetwidget.h \
|
2021-08-31 19:15:11 +08:00
|
|
|
settingsdialog/formattergeneralwidget.h \
|
2021-09-15 14:35:37 +08:00
|
|
|
settingsdialog/projectcompileparamaterswidget.h \
|
2021-09-15 08:02:08 +08:00
|
|
|
settingsdialog/projectcompilerwidget.h \
|
2021-09-15 16:57:28 +08:00
|
|
|
settingsdialog/projectdirectorieswidget.h \
|
2021-09-18 22:37:07 +08:00
|
|
|
settingsdialog/projectdllhostwidget.h \
|
2021-09-14 17:33:47 +08:00
|
|
|
settingsdialog/projectfileswidget.h \
|
2021-09-14 14:05:43 +08:00
|
|
|
settingsdialog/projectgeneralwidget.h \
|
2021-09-15 22:19:59 +08:00
|
|
|
settingsdialog/projectmakefilewidget.h \
|
|
|
|
settingsdialog/projectoutputwidget.h \
|
2021-09-15 16:57:28 +08:00
|
|
|
settingsdialog/projectprecompilewidget.h \
|
2021-10-07 08:34:10 +08:00
|
|
|
settingsdialog/toolsgeneralwidget.h \
|
2022-02-08 23:38:29 +08:00
|
|
|
settingsdialog/toolsgitwidget.h \
|
2021-10-06 23:19:18 +08:00
|
|
|
shortcutmanager.h \
|
2021-09-30 11:20:43 +08:00
|
|
|
symbolusagemanager.h \
|
2021-10-15 13:49:28 +08:00
|
|
|
thememanager.h \
|
2021-10-03 17:18:43 +08:00
|
|
|
todoparser.h \
|
2021-10-08 00:06:41 +08:00
|
|
|
toolsmanager.h \
|
2022-02-19 20:38:08 +08:00
|
|
|
vcs/gitbranchdialog.h \
|
2022-02-24 07:22:44 +08:00
|
|
|
vcs/gitfetchdialog.h \
|
2022-02-21 23:35:28 +08:00
|
|
|
vcs/gitlogdialog.h \
|
2022-02-08 23:38:29 +08:00
|
|
|
vcs/gitmanager.h \
|
2022-02-20 13:26:15 +08:00
|
|
|
vcs/gitmergedialog.h \
|
2022-02-24 07:22:44 +08:00
|
|
|
vcs/gitpulldialog.h \
|
|
|
|
vcs/gitpushdialog.h \
|
|
|
|
vcs/gitremotedialog.h \
|
2022-02-10 12:03:56 +08:00
|
|
|
vcs/gitrepository.h \
|
2022-02-22 09:16:20 +08:00
|
|
|
vcs/gitresetdialog.h \
|
2022-02-25 11:07:30 +08:00
|
|
|
vcs/gituserconfigdialog.h \
|
2022-02-15 21:39:17 +08:00
|
|
|
vcs/gitutils.h \
|
2021-10-03 23:12:20 +08:00
|
|
|
widgets/aboutdialog.h \
|
2021-10-21 08:19:15 +08:00
|
|
|
widgets/bookmarkmodel.h \
|
2022-02-24 17:33:19 +08:00
|
|
|
widgets/choosethemedialog.h \
|
2021-08-23 03:47:28 +08:00
|
|
|
widgets/classbrowser.h \
|
2021-08-29 00:48:23 +08:00
|
|
|
widgets/codecompletionlistview.h \
|
|
|
|
widgets/codecompletionpopup.h \
|
2021-08-01 23:24:37 +08:00
|
|
|
widgets/cpudialog.h \
|
2021-07-03 21:57:50 +08:00
|
|
|
debugger.h \
|
2021-04-06 23:10:57 +08:00
|
|
|
editor.h \
|
|
|
|
editorlist.h \
|
2021-06-24 16:05:19 +08:00
|
|
|
iconsmanager.h \
|
2021-04-06 23:10:57 +08:00
|
|
|
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-07-01 20:24:47 +08:00
|
|
|
qsynedit/highlighter/asm.h \
|
2021-05-14 23:56:43 +08:00
|
|
|
qsynedit/highlighter/base.h \
|
|
|
|
qsynedit/highlighter/composition.h \
|
|
|
|
qsynedit/highlighter/cpp.h \
|
2022-01-23 23:27:48 +08:00
|
|
|
qsynedit/highlighter/glsl.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-25 12:40:11 +08:00
|
|
|
settingsdialog/editorsyntaxcheckwidget.h \
|
2021-06-18 21:48:40 +08:00
|
|
|
settingsdialog/environmentappearencewidget.h \
|
2021-07-01 19:44:38 +08:00
|
|
|
settingsdialog/executorgeneralwidget.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 \
|
2022-05-13 20:22:16 +08:00
|
|
|
widgets/compileargumentswidget.h \
|
2021-07-01 19:44:38 +08:00
|
|
|
widgets/consolewidget.h \
|
2022-02-03 21:44:45 +08:00
|
|
|
widgets/customdisablediconengine.h \
|
2022-02-14 00:13:00 +08:00
|
|
|
widgets/customfilesystemmodel.h \
|
2021-09-15 22:19:59 +08:00
|
|
|
widgets/custommakefileinfodialog.h \
|
2021-10-18 22:06:33 +08:00
|
|
|
widgets/darkfusionstyle.h \
|
2021-10-23 23:10:34 +08:00
|
|
|
widgets/editorstabwidget.h \
|
2021-09-03 21:06:53 +08:00
|
|
|
widgets/filepropertiesdialog.h \
|
2021-09-22 17:43:21 +08:00
|
|
|
widgets/functiontooltipwidget.h \
|
2021-08-29 00:48:23 +08:00
|
|
|
widgets/headercompletionpopup.h \
|
2022-02-20 21:47:57 +08:00
|
|
|
widgets/infomessagebox.h \
|
2021-06-20 14:30:47 +08:00
|
|
|
widgets/issuestable.h \
|
2021-10-15 10:23:46 +08:00
|
|
|
widgets/labelwithmenu.h \
|
2021-12-21 11:57:23 +08:00
|
|
|
widgets/lightfusionstyle.h \
|
2022-03-29 21:41:02 +08:00
|
|
|
widgets/linenumbertexteditor.h \
|
2021-10-08 00:06:41 +08:00
|
|
|
widgets/macroinfomodel.h \
|
2022-01-27 18:34:18 +08:00
|
|
|
widgets/newclassdialog.h \
|
2022-01-31 11:57:33 +08:00
|
|
|
widgets/newheaderdialog.h \
|
2021-09-16 12:03:10 +08:00
|
|
|
widgets/newprojectdialog.h \
|
2022-04-08 17:22:24 +08:00
|
|
|
widgets/newprojectunitdialog.h \
|
2022-08-07 21:41:57 +08:00
|
|
|
widgets/newtemplatedialog.h \
|
2021-11-04 09:07:06 +08:00
|
|
|
widgets/ojproblempropertywidget.h \
|
2021-10-31 17:01:34 +08:00
|
|
|
widgets/ojproblemsetmodel.h \
|
2021-07-01 20:24:47 +08:00
|
|
|
widgets/qconsole.h \
|
2021-08-02 21:58:39 +08:00
|
|
|
widgets/qpatchedcombobox.h \
|
2021-08-04 13:16:15 +08:00
|
|
|
widgets/searchdialog.h \
|
2021-11-25 09:05:45 +08:00
|
|
|
widgets/searchresultview.h \
|
2022-04-01 21:09:24 +08:00
|
|
|
widgets/shortcutinputedit.h \
|
2022-05-21 10:44:39 +08:00
|
|
|
widgets/shrinkabletabwidget.h \
|
2021-11-25 09:05:45 +08:00
|
|
|
widgets/signalmessagedialog.h
|
2021-04-06 23:10:57 +08:00
|
|
|
|
|
|
|
FORMS += \
|
2021-09-04 16:34:14 +08:00
|
|
|
settingsdialog/compilerautolinkwidget.ui \
|
2021-08-01 23:24:37 +08:00
|
|
|
settingsdialog/debuggeneralwidget.ui \
|
2021-08-30 22:05:45 +08:00
|
|
|
settingsdialog/editorautosavewidget.ui \
|
2021-08-30 16:59:08 +08:00
|
|
|
settingsdialog/editorcodecompletionwidget.ui \
|
2021-08-30 17:10:46 +08:00
|
|
|
settingsdialog/editormiscwidget.ui \
|
2021-09-30 12:52:22 +08:00
|
|
|
settingsdialog/editorsnippetwidget.ui \
|
2021-09-21 20:36:43 +08:00
|
|
|
settingsdialog/editortooltipswidget.ui \
|
2021-10-08 20:01:29 +08:00
|
|
|
settingsdialog/environmentfolderswidget.ui \
|
2021-11-08 21:19:48 +08:00
|
|
|
settingsdialog/environmentperformancewidget.ui \
|
2021-10-06 12:19:46 +08:00
|
|
|
settingsdialog/environmentshortcutwidget.ui \
|
2021-11-02 13:12:36 +08:00
|
|
|
settingsdialog/executorproblemsetwidget.ui \
|
2021-08-31 19:15:11 +08:00
|
|
|
settingsdialog/formattergeneralwidget.ui \
|
2021-09-15 14:35:37 +08:00
|
|
|
settingsdialog/projectcompileparamaterswidget.ui \
|
2021-09-15 08:02:08 +08:00
|
|
|
settingsdialog/projectcompilerwidget.ui \
|
2021-09-15 16:57:28 +08:00
|
|
|
settingsdialog/projectdirectorieswidget.ui \
|
2021-09-18 22:37:07 +08:00
|
|
|
settingsdialog/projectdllhostwidget.ui \
|
2021-09-14 17:33:47 +08:00
|
|
|
settingsdialog/projectfileswidget.ui \
|
2021-09-14 14:05:43 +08:00
|
|
|
settingsdialog/projectgeneralwidget.ui \
|
2021-09-15 22:19:59 +08:00
|
|
|
settingsdialog/projectmakefilewidget.ui \
|
|
|
|
settingsdialog/projectoutputwidget.ui \
|
2021-09-15 16:57:28 +08:00
|
|
|
settingsdialog/projectprecompilewidget.ui \
|
2021-10-07 08:34:10 +08:00
|
|
|
settingsdialog/toolsgeneralwidget.ui \
|
2022-02-08 23:38:29 +08:00
|
|
|
settingsdialog/toolsgitwidget.ui \
|
2022-02-19 20:38:08 +08:00
|
|
|
vcs/gitbranchdialog.ui \
|
2022-02-24 07:22:44 +08:00
|
|
|
vcs/gitfetchdialog.ui \
|
2022-02-21 23:35:28 +08:00
|
|
|
vcs/gitlogdialog.ui \
|
2022-02-20 13:26:15 +08:00
|
|
|
vcs/gitmergedialog.ui \
|
2022-02-24 07:22:44 +08:00
|
|
|
vcs/gitpulldialog.ui \
|
|
|
|
vcs/gitpushdialog.ui \
|
|
|
|
vcs/gitremotedialog.ui \
|
2022-02-22 09:16:20 +08:00
|
|
|
vcs/gitresetdialog.ui \
|
2022-02-25 11:07:30 +08:00
|
|
|
vcs/gituserconfigdialog.ui \
|
2021-10-03 23:12:20 +08:00
|
|
|
widgets/aboutdialog.ui \
|
2022-02-24 17:33:19 +08:00
|
|
|
widgets/choosethemedialog.ui \
|
2021-08-01 23:24:37 +08:00
|
|
|
widgets/cpudialog.ui \
|
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-25 12:40:11 +08:00
|
|
|
settingsdialog/editorsyntaxcheckwidget.ui \
|
2021-06-18 21:48:40 +08:00
|
|
|
settingsdialog/environmentappearencewidget.ui \
|
2021-07-01 19:44:38 +08:00
|
|
|
settingsdialog/executorgeneralwidget.ui \
|
2021-08-02 21:58:39 +08:00
|
|
|
settingsdialog/settingsdialog.ui \
|
2021-09-15 22:19:59 +08:00
|
|
|
widgets/custommakefileinfodialog.ui \
|
2021-09-03 21:06:53 +08:00
|
|
|
widgets/filepropertiesdialog.ui \
|
2022-02-20 21:47:57 +08:00
|
|
|
widgets/infomessagebox.ui \
|
2022-01-27 18:34:18 +08:00
|
|
|
widgets/newclassdialog.ui \
|
2022-01-31 11:57:33 +08:00
|
|
|
widgets/newheaderdialog.ui \
|
2021-09-16 12:03:10 +08:00
|
|
|
widgets/newprojectdialog.ui \
|
2022-04-08 17:22:24 +08:00
|
|
|
widgets/newprojectunitdialog.ui \
|
2022-08-07 21:41:57 +08:00
|
|
|
widgets/newtemplatedialog.ui \
|
2021-11-04 09:07:06 +08:00
|
|
|
widgets/ojproblempropertywidget.ui \
|
2021-11-25 09:05:45 +08:00
|
|
|
widgets/searchdialog.ui \
|
|
|
|
widgets/signalmessagedialog.ui
|
2021-04-06 23:10:57 +08:00
|
|
|
|
2021-12-26 15:07:18 +08:00
|
|
|
win32: {
|
|
|
|
FORMS += \
|
2022-05-13 20:22:16 +08:00
|
|
|
settingsdialog/projectversioninfowidget.ui \
|
2021-12-24 23:18:20 +08:00
|
|
|
settingsdialog/environmentfileassociationwidget.ui
|
2021-12-26 15:07:18 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
2021-12-24 23:18:20 +08:00
|
|
|
settingsdialog/projectversioninfowidget.h \
|
2022-05-13 20:22:16 +08:00
|
|
|
settingsdialog/environmentfileassociationwidget.h
|
|
|
|
|
2021-12-26 15:07:18 +08:00
|
|
|
SOURCES += \
|
2021-12-24 23:18:20 +08:00
|
|
|
settingsdialog/environmentfileassociationwidget.cpp \
|
|
|
|
settingsdialog/projectversioninfowidget.cpp
|
2021-12-26 15:07:18 +08:00
|
|
|
}
|
2021-12-24 23:18:20 +08:00
|
|
|
|
2021-12-29 13:16:03 +08:00
|
|
|
unix: {
|
2021-12-26 15:07:18 +08:00
|
|
|
HEADERS += \
|
2021-12-27 22:46:54 +08:00
|
|
|
settingsdialog/formatterpathwidget.h \
|
2021-12-25 23:38:53 +08:00
|
|
|
settingsdialog/environmentprogramswidget.h
|
|
|
|
|
2021-12-26 15:07:18 +08:00
|
|
|
SOURCES += \
|
2021-12-27 22:46:54 +08:00
|
|
|
settingsdialog/formatterpathwidget.cpp \
|
2021-12-26 15:07:18 +08:00
|
|
|
settingsdialog/environmentprogramswidget.cpp
|
2021-12-25 23:38:53 +08:00
|
|
|
|
2021-12-26 15:07:18 +08:00
|
|
|
FORMS += \
|
2021-12-27 22:46:54 +08:00
|
|
|
settingsdialog/formatterpathwidget.ui \
|
2021-12-25 23:38:53 +08:00
|
|
|
settingsdialog/environmentprogramswidget.ui
|
2021-12-26 15:07:18 +08:00
|
|
|
}
|
2022-05-28 20:43:07 +08:00
|
|
|
|
2021-12-29 13:16:03 +08:00
|
|
|
linux: {
|
|
|
|
LIBS+= \
|
|
|
|
-lrt
|
|
|
|
}
|
2021-12-25 23:38:53 +08:00
|
|
|
|
2021-04-06 23:10:57 +08:00
|
|
|
TRANSLATIONS += \
|
2022-08-05 20:56:09 +08:00
|
|
|
translations/RedPandaIDE_zh_CN.ts \
|
|
|
|
translations/RedPandaIDE_zh_TW.ts \
|
|
|
|
translations/RedPandaIDE_pt_BR.ts
|
2021-04-06 23:10:57 +08:00
|
|
|
|
2022-01-29 00:12:12 +08:00
|
|
|
#CONFIG += lrelease embed_translations
|
|
|
|
|
2022-01-16 15:08:54 +08:00
|
|
|
win32: {
|
|
|
|
!isEmpty(PREFIX) {
|
|
|
|
target.path = $${PREFIX}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-06 23:10:57 +08:00
|
|
|
# Default rules for deployment.
|
2022-01-05 08:18:47 +08:00
|
|
|
qnx: target.path = $${PREFIX}/bin
|
|
|
|
else: unix:!android: target.path = $${PREFIX}/bin
|
2021-04-06 23:10:57 +08:00
|
|
|
!isEmpty(target.path): INSTALLS += target
|
2021-04-07 21:13:15 +08:00
|
|
|
|
2021-04-08 10:29:21 +08:00
|
|
|
RESOURCES += \
|
2021-09-01 22:40:58 +08:00
|
|
|
codes.qrc \
|
2021-09-04 11:37:04 +08:00
|
|
|
defaultconfigs.qrc \
|
2021-06-20 09:27:37 +08:00
|
|
|
icons.qrc \
|
2022-03-15 20:17:47 +08:00
|
|
|
projecttemplates.qrc \
|
2021-06-20 09:27:37 +08:00
|
|
|
translations.qrc
|
2021-04-21 18:58:35 +08:00
|
|
|
|
2022-02-01 21:39:31 +08:00
|
|
|
RC_ICONS = images/devcpp.ico images/associations/c.ico images/associations/cpp.ico images/associations/dev.ico images/associations/c.ico images/associations/cpp.ico images/associations/h.ico images/associations/hpp.ico
|
2022-01-29 00:12:12 +08:00
|
|
|
|
|
|
|
# fixed lrelease.prf
|
2022-05-14 11:21:59 +08:00
|
|
|
qtPrepareTool(QMAKE_LRELEASE, lrelease)
|
|
|
|
|
|
|
|
isEmpty(LRELEASE_DIR): LRELEASE_DIR = .qm
|
|
|
|
isEmpty(QM_FILES_RESOURCE_PREFIX): QM_FILES_RESOURCE_PREFIX = i18n
|
|
|
|
|
|
|
|
lrelease.name = lrelease
|
|
|
|
lrelease.input = TRANSLATIONS EXTRA_TRANSLATIONS
|
|
|
|
lrelease.output = $$LRELEASE_DIR/${QMAKE_FILE_IN_BASE}.qm
|
|
|
|
lrelease.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} $$QMAKE_LRELEASE_FLAGS -qm ${QMAKE_FILE_OUT}
|
|
|
|
silent: lrelease.commands = @echo lrelease ${QMAKE_FILE_IN} && $$lrelease.commands
|
|
|
|
lrelease.CONFIG = no_link target_predeps
|
|
|
|
QMAKE_EXTRA_COMPILERS += lrelease
|
|
|
|
|
|
|
|
all_translations = $$TRANSLATIONS $$EXTRA_TRANSLATIONS
|
|
|
|
for (translation, all_translations) {
|
|
|
|
# mirrors $$LRELEASE_DIR/${QMAKE_FILE_IN_BASE}.qm above
|
|
|
|
translation = $$basename(translation)
|
|
|
|
QM_FILES += $$OUT_PWD/$$LRELEASE_DIR/$$replace(translation, \\..*$, .qm)
|
|
|
|
}
|
|
|
|
|
|
|
|
qmake_qm_files.files = $$QM_FILES
|
|
|
|
qmake_qm_files.base = $$OUT_PWD/$$LRELEASE_DIR
|
|
|
|
qmake_qm_files.prefix = $$QM_FILES_RESOURCE_PREFIX
|
|
|
|
|
|
|
|
iconsets_files.files += $$files(resources/iconsets/*.svg, true)
|
|
|
|
iconsets_files.files += $$files(resources/iconsets/*.json, true)
|
|
|
|
|
|
|
|
theme_files.files += $$files(themes/*.json, false)
|
|
|
|
theme_files.files += $$files(themes/*.png, false)
|
|
|
|
|
|
|
|
colorscheme_files.files += $$files(colorschemes/*.scheme, false)
|
|
|
|
colorscheme_files.prefix = /colorschemes
|
|
|
|
|
|
|
|
RESOURCES += qmake_qm_files
|
|
|
|
RESOURCES += iconsets_files
|
|
|
|
RESOURCES += theme_files
|
|
|
|
RESOURCES += colorscheme_files
|
2022-05-28 20:43:07 +08:00
|
|
|
|
|
|
|
macos: {
|
|
|
|
# Add needed executables into the main app bundle
|
|
|
|
bundled_executable.files = \
|
|
|
|
$$OUT_PWD/../astyle/astyle \
|
|
|
|
$$OUT_PWD/../consolepauser/consolepauser \
|
|
|
|
$$OUT_PWD/../redpanda-git-askpass/redpanda-git-askpass.app/Contents/MacOS/redpanda-git-askpass
|
|
|
|
bundled_executable.path = Contents/MacOS
|
|
|
|
|
2022-05-30 17:21:31 +08:00
|
|
|
# Also bundled templates
|
|
|
|
|
2022-05-28 20:43:07 +08:00
|
|
|
QMAKE_BUNDLE_DATA += bundled_executable
|
|
|
|
}
|