Creating a quick item for our MiniDisplay.
6 #DESTDIR = ../MiniDisplay
8 # Avoid going to debug/release subdirectory
9 # so that our application will see the
10 # import path for the MiniDisplay module.
14 TARGET = $$qtLibraryTarget($$TARGET)
15 #uri = com.slions.minidisplay
20 minidisplay_plugin.cpp \
24 minidisplay_plugin.h \
29 !equals(_PRO_FILE_PWD_, $$OUT_PWD) {
30 copy_qmldir.target = $$OUT_PWD/qmldir
31 copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
32 copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
33 QMAKE_EXTRA_TARGETS += copy_qmldir
34 PRE_TARGETDEPS += $$copy_qmldir.target
39 installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
40 qmldir.path = $$installPath
41 target.path = $$installPath
42 INSTALLS += target qmldir