You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
998 B
41 lines
998 B
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
CONFIG += c++17
|
|
|
|
# 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 += \
|
|
src/main.cc \
|
|
src/main_window.cc \
|
|
src/login_widget.cc \
|
|
src/selection_widget.cc \
|
|
src/question_widget.cc \
|
|
src/result_widget.cc \
|
|
src/base_widget.cc \
|
|
|
|
HEADERS += \
|
|
src/main_window.h \
|
|
src/login_widget.h \
|
|
src/selection_widget.h \
|
|
src/question_widget.h \
|
|
src/result_widget.h \
|
|
src/base_widget.h \
|
|
shared/ibackend_service.h \
|
|
|
|
FORMS += \
|
|
mainwindow.ui
|
|
|
|
TRANSLATIONS += \
|
|
examSystem_zh_CN.ts
|
|
CONFIG += lrelease
|
|
CONFIG += embed_translations
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|