summaryrefslogtreecommitdiffstats
path: root/libcommuni/src/imports/qml1/qml1.pro
diff options
context:
space:
mode:
Diffstat (limited to 'libcommuni/src/imports/qml1/qml1.pro')
-rw-r--r--libcommuni/src/imports/qml1/qml1.pro30
1 files changed, 30 insertions, 0 deletions
diff --git a/libcommuni/src/imports/qml1/qml1.pro b/libcommuni/src/imports/qml1/qml1.pro
new file mode 100644
index 0000000..ddee6a2
--- /dev/null
+++ b/libcommuni/src/imports/qml1/qml1.pro
@@ -0,0 +1,30 @@
+######################################################################
+# Communi
+######################################################################
+
+TARGET = communiplugin
+QT = core network declarative
+TARGETPATH = Communi
+DESTDIR = ../../../imports/$$TARGETPATH
+
+SOURCES += plugin.cpp
+OTHER_FILES += qmldir plugins.qmltypes
+
+isEmpty(IRC_INSTALL_IMPORTS):IRC_INSTALL_IMPORTS = $$[QT_INSTALL_IMPORTS]
+
+!no_install_imports {
+ target.path = $$IRC_INSTALL_IMPORTS/$$TARGETPATH
+ INSTALLS += target
+
+ other_files.files = $$OTHER_FILES
+ other_files.path = $$IRC_INSTALL_IMPORTS/$$TARGETPATH
+ INSTALLS += other_files
+}
+
+for(other_file, OTHER_FILES) {
+ ARGUMENTS = $${PWD}$${QMAKE_DIR_SEP}$$other_file $$DESTDIR
+ !isEmpty(QMAKE_POST_LINK):QMAKE_POST_LINK += &&
+ QMAKE_POST_LINK += $$QMAKE_COPY $$replace(ARGUMENTS, /, $$QMAKE_DIR_SEP)
+}
+
+include(../imports.pri)