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.
36 lines
1.3 KiB
36 lines
1.3 KiB
TEMPLATE = app
|
|
|
|
QT += quick mvvmquick
|
|
CONFIG += c++14
|
|
|
|
TARGET = %{QuickName}
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
SOURCES += main.cpp
|
|
|
|
RESOURCES += \\
|
|
%{QuickQrcFile}
|
|
|
|
TRANSLATIONS += %{ProjectLowerName}_quick_de.ts \\
|
|
%{ProjectLowerName}_quick_template.ts
|
|
|
|
# Link with core project
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../%{CoreName}/release/ -l%{CoreName}
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../%{CoreName}/debug/ -l%{CoreName}
|
|
else:unix: LIBS += -L$$OUT_PWD/../%{CoreName}/ -l%{CoreName}
|
|
|
|
INCLUDEPATH += $$PWD/../%{CoreName}
|
|
DEPENDPATH += $$PWD/../%{CoreName}
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../%{CoreName}/release/lib%{CoreName}.a
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../%{CoreName}/debug/lib%{CoreName}.a
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../%{CoreName}/release/%{CoreName}.lib
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../%{CoreName}/debug/%{CoreName}.lib
|
|
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../%{CoreName}/lib%{CoreName}.a
|
|
|
|
# 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 =
|
|
|