2021-01-28 17:06:40 +08:00
|
|
|
QT += quick
|
2019-12-04 15:51:46 +08:00
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any Qt feature that has been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Refer to the documentation for the
|
|
|
|
# deprecated API to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
2021-01-28 17:06:40 +08:00
|
|
|
async/async_result.cpp \
|
|
|
|
async/settable_future.cpp \
|
2019-12-14 10:04:17 +08:00
|
|
|
context.cpp \
|
2021-01-28 20:31:06 +08:00
|
|
|
context_manager.cpp \
|
2021-01-28 17:06:40 +08:00
|
|
|
engine/bridge_extension.cpp \
|
2019-12-14 10:04:17 +08:00
|
|
|
engine/js_engine.cpp \
|
2021-01-28 17:06:40 +08:00
|
|
|
engine/native_empty.cpp \
|
|
|
|
engine/native_jse.cpp \
|
|
|
|
engine/native_log.cpp \
|
|
|
|
engine/timer_extension.cpp \
|
2019-12-13 17:45:27 +08:00
|
|
|
main.cpp \
|
2021-01-28 17:06:40 +08:00
|
|
|
native_driver.cpp \
|
|
|
|
utils/constant.cpp
|
2019-12-04 15:51:46 +08:00
|
|
|
|
|
|
|
RESOURCES += qml.qrc
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
|
|
QML_IMPORT_PATH =
|
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules just for Qt Quick Designer
|
|
|
|
QML_DESIGNER_IMPORT_PATH =
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
|
|
HEADERS += \
|
2021-01-28 17:06:40 +08:00
|
|
|
async/async_call.h \
|
2019-12-19 19:54:58 +08:00
|
|
|
async/async_result.h \
|
|
|
|
async/callback.h \
|
2021-01-28 17:06:40 +08:00
|
|
|
async/settable_future.h \
|
2019-12-04 15:51:46 +08:00
|
|
|
context.h \
|
|
|
|
context_manager.h \
|
2021-01-28 17:06:40 +08:00
|
|
|
engine/bridge_extension.h \
|
|
|
|
engine/interface_jse.h \
|
2019-12-04 15:51:46 +08:00
|
|
|
engine/js_engine.h \
|
2021-01-28 17:06:40 +08:00
|
|
|
engine/native_empty.h \
|
|
|
|
engine/native_jse.h \
|
|
|
|
engine/native_log.h \
|
|
|
|
engine/timer_extension.h \
|
|
|
|
interface_driver.h \
|
|
|
|
native_driver.h \
|
2019-12-06 19:47:59 +08:00
|
|
|
template/singleton.h \
|
2021-01-28 17:06:40 +08:00
|
|
|
utils/constant.h \
|
|
|
|
utils/count_down_latch.h \
|
|
|
|
utils/utils.h
|