2019-12-18 17:35:37 +08:00
|
|
|
QT += \
|
|
|
|
quick \
|
|
|
|
widgets
|
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 += \
|
|
|
|
constant.cpp \
|
2019-12-14 10:04:17 +08:00
|
|
|
context.cpp \
|
2019-12-04 15:51:46 +08:00
|
|
|
driver/native_driver.cpp \
|
2019-12-14 10:04:17 +08:00
|
|
|
engine/js_engine.cpp \
|
2019-12-13 17:45:27 +08:00
|
|
|
main.cpp \
|
2019-12-14 10:04:17 +08:00
|
|
|
native/native_bridge.cpp \
|
|
|
|
native/native_empty.cpp \
|
|
|
|
native/native_log.cpp \
|
|
|
|
native/native_timer.cpp \
|
2019-12-17 17:05:57 +08:00
|
|
|
plugin/shader_plugin.cpp \
|
2019-12-14 10:04:17 +08:00
|
|
|
registry.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 += \
|
|
|
|
constant.h \
|
|
|
|
context.h \
|
2019-12-13 17:45:27 +08:00
|
|
|
context_holder.h \
|
2019-12-04 15:51:46 +08:00
|
|
|
context_manager.h \
|
|
|
|
driver/driver.h \
|
|
|
|
driver/native_driver.h \
|
|
|
|
engine/js_engine.h \
|
|
|
|
native/native_bridge.h \
|
|
|
|
native/native_empty.h \
|
|
|
|
native/native_log.h \
|
|
|
|
native/native_timer.h \
|
2019-12-13 17:45:27 +08:00
|
|
|
plugin/shader_plugin.h \
|
|
|
|
registry.h \
|
2019-12-18 17:35:37 +08:00
|
|
|
shader/layer.h \
|
2019-12-17 17:05:57 +08:00
|
|
|
shader/super_node.h \
|
|
|
|
shader/view_node.h \
|
2019-12-06 19:47:59 +08:00
|
|
|
template/singleton.h \
|
|
|
|
utility/utility.h
|