2021-04-06 23:10:57 +08:00
|
|
|
QT += core gui
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
2021-04-07 21:13:15 +08:00
|
|
|
CONFIG += c++14
|
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 += \
|
|
|
|
editor.cpp \
|
|
|
|
editorlist.cpp \
|
|
|
|
main.cpp \
|
|
|
|
mainwindow.cpp \
|
2021-04-08 10:29:21 +08:00
|
|
|
settings.cpp \
|
2021-04-06 23:10:57 +08:00
|
|
|
utils.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
editor.h \
|
|
|
|
editorlist.h \
|
|
|
|
mainwindow.h \
|
2021-04-08 10:29:21 +08:00
|
|
|
settings.h \
|
2021-04-06 23:10:57 +08:00
|
|
|
utils.h
|
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
mainwindow.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
|
2021-04-07 21:13:15 +08:00
|
|
|
|
|
|
|
LIBS += -L$$PWD -lqscintilla2_qt5
|
2021-04-08 10:29:21 +08:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
icons.qrc
|