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.
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
|
|
QT += mvvmcore quick
|
|
|
|
# Creating a static library is typically more efficient. You can still create a shared library if you want to
|
|
|
|
CONFIG += staticlib
|
|
|
|
CONFIG += debug
|
|
|
|
TARGET = logic
|
|
|
|
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS \
|
|
|
|
QT_QPA_EGLFS_HIDECURSOR
|
|
|
|
|
|
|
|
SOURCES += $$files(src/*.cpp, true)
|
|
|
|
|
|
|
|
HEADERS += $$files(include/*.h, true) \
|
|
|
|
include/viewModel/utils/UsJson.h
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
logic.qrc
|
|
|
|
|
|
|
|
INCLUDEPATH += "$$PWD/include" \
|
|
|
|
"$$PWD/include/lib" \
|
|
|
|
$$PWD/..
|
|
|
|
|
|
|
|
TRANSLATIONS += mvvm_core_de.ts \
|
|
|
|
mvvm_core_template.ts
|
|
|
|
|
|
|
|
DISTFILES += $$TRANSLATIONS
|
|
|
|
QTMVVM_TS_SETTINGS = settings.xml
|
|
|
|
_never_true_condition: SOURCES += $$files($$PWD/.ts-dummy/*)
|
|
|
|
# Uncomment the following line to automatically generated and update settings translations when building
|
|
|
|
#PRE_TARGETDEPS += qtmvvm-tsgen
|