diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2014-10-06 15:03:54 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2014-10-06 15:03:54 +0200 |
| commit | 529f38bd8878b6b1bea2b5457031ce936aab8d80 (patch) | |
| tree | 1193caefcad12f6a36f818048e4547e60add4398 /libcommuni/src/imports/qml2/qml2.pro | |
| parent | 3b58b5536935adff242928ed9f30e1c0262fbd7c (diff) | |
| download | manager-529f38bd8878b6b1bea2b5457031ce936aab8d80.tar.gz manager-529f38bd8878b6b1bea2b5457031ce936aab8d80.zip | |
addedd communi
Diffstat (limited to 'libcommuni/src/imports/qml2/qml2.pro')
| -rw-r--r-- | libcommuni/src/imports/qml2/qml2.pro | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libcommuni/src/imports/qml2/qml2.pro b/libcommuni/src/imports/qml2/qml2.pro new file mode 100644 index 0000000..7a39b94 --- /dev/null +++ b/libcommuni/src/imports/qml2/qml2.pro @@ -0,0 +1,30 @@ +###################################################################### +# Communi +###################################################################### + +TARGET = communiplugin +QT = core network qml +TARGETPATH = Communi +DESTDIR = ../../../qml/$$TARGETPATH + +SOURCES += plugin.cpp +OTHER_FILES += qmldir plugins.qmltypes + +isEmpty(IRC_INSTALL_QML):IRC_INSTALL_QML = $$[QT_INSTALL_QML] + +!no_install_qml { + target.path = $$IRC_INSTALL_QML/$$TARGETPATH + INSTALLS += target + + other_files.files = $$OTHER_FILES + other_files.path = $$IRC_INSTALL_QML/$$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) |
