summaryrefslogtreecommitdiff
path: root/src/src.pro
diff options
context:
space:
mode:
authorNo'am Rosenthal <noam.rosenthal@nokia.com>2011-06-30 17:10:26 -0700
committerNo'am Rosenthal <noam.rosenthal@nokia.com>2011-06-30 17:10:26 -0700
commit22dce6d37782bcf4430ec52bbf905285c03faf29 (patch)
treec240a2a6f3eb8d1d25ef5776ea0497a94b9d546d /src/src.pro
downloadqtwebchannel-22dce6d37782bcf4430ec52bbf905285c03faf29.tar.gz
QWebChannel
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/src.pro b/src/src.pro
new file mode 100644
index 0000000..9c424cf
--- /dev/null
+++ b/src/src.pro
@@ -0,0 +1,30 @@
+include(src.pri)
+
+TEMPLATE = lib
+TARGET = qwebchannel
+TARGETPATH = Qt/labs/WebChannel
+QT += declarative
+CONFIG += qt plugin
+
+TARGET = $$qtLibraryTarget($$TARGET)
+
+# Input
+SOURCES += qwebchannel_plugin.cpp
+HEADERS += qwebchannel_plugin.h
+
+OTHER_FILES = qmldir
+
+!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
+ copy_qmldir.target = $$OUT_PWD/qmldir
+ copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
+ copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
+ QMAKE_EXTRA_TARGETS += copy_qmldir
+ PRE_TARGETDEPS += $$copy_qmldir.target
+}
+
+target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+
+qmldir.files += $$PWD/qmldir
+qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+
+INSTALLS += target qmldir