aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pngdumper/pngdumper.pro
diff options
context:
space:
mode:
authorKim Gronholm <kim.1.gronholm@nokia.com>2011-12-27 13:06:36 +0200
committerKim Gronholm <kim.1.gronholm@nokia.com>2011-12-27 13:06:36 +0200
commita9baa55456aff95e7797dbe1f9b19d2afb5034e1 (patch)
tree0ba8d0f606b632231796bd8f65b4c6d02d591d16 /tools/pngdumper/pngdumper.pro
Initial commit
Diffstat (limited to 'tools/pngdumper/pngdumper.pro')
-rw-r--r--tools/pngdumper/pngdumper.pro45
1 files changed, 45 insertions, 0 deletions
diff --git a/tools/pngdumper/pngdumper.pro b/tools/pngdumper/pngdumper.pro
new file mode 100644
index 0000000..1677049
--- /dev/null
+++ b/tools/pngdumper/pngdumper.pro
@@ -0,0 +1,45 @@
+TEMPLATE = lib
+TARGET = pngdumper
+QT += core quick
+CONFIG += qt plugin
+
+TARGET = $$qtLibraryTarget($$TARGET)
+uri = com.nokia.mt.pngdumper
+
+# Input
+SOURCES += \
+ pngdumper_plugin.cpp \
+ pngdumper.cpp
+
+HEADERS += \
+ pngdumper_plugin.h \
+ pngdumper.h
+
+OTHER_FILES = qmldir \
+ pngdumper.qml \
+ ItemModel.qml
+
+!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
+}
+
+qmldir.files = qmldir
+symbian {
+ TARGET.EPOCALLOWDLLDATA = 1
+} else:unix {
+ maemo5 | !isEmpty(MEEGO_VERSION_MAJOR) {
+ installPath = /usr/lib/qt4/imports/$$replace(uri, \\., /)
+ } else {
+ installPath = $$[QT_INSTALL_IMPORTS]/$$replace(uri, \\., /)
+ }
+ qmldir.path = $$installPath
+ target.path = $$installPath
+ INSTALLS += target qmldir
+}
+
+
+