2 TARGET = ClimateControl
4 CONFIG += qt plugin c++11
5 CONFIG(release):DEFINES += QT_NO_DEBUG_OUTPUT
7 TARGET = $$qtLibraryTarget($$TARGET)
8 uri = Automotive.ClimateControl
12 climatecontrol_plugin.cpp \
16 climatecontrol_plugin.h \
20 climatecontroltest.qml
22 !equals(_PRO_FILE_PWD_, $$OUT_PWD) {
23 copy_qmldir.target = $$OUT_PWD/qmldir
24 copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
25 copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
26 QMAKE_EXTRA_TARGETS += copy_qmldir
27 PRE_TARGETDEPS += $$copy_qmldir.target
32 installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
33 qmldir.path = $$installPath
34 target.path = $$installPath
35 INSTALLS += target qmldir