Add rules to install qtcamera, declarative bindings and the application
authorMohammed Sameer <msameer@foolab.org>
Mon, 4 Feb 2013 23:36:26 +0000 (01:36 +0200)
committerMohammed Sameer <msameer@foolab.org>
Mon, 4 Feb 2013 23:36:26 +0000 (01:36 +0200)
declarative/declarative.pro
lib/lib.pro
src/src.pro

index ee6e2c1..db86063 100644 (file)
@@ -28,3 +28,10 @@ SOURCES += plugin.cpp previewprovider.cpp camera.cpp mode.cpp imagemode.cpp vide
            roi.cpp
 
 HEADERS += declarativeqtcameranotifications.h
+
+PLUGIN_IMPORT_PATH = QtCamera
+target.path = $$[QT_INSTALL_IMPORTS]/$$PLUGIN_IMPORT_PATH
+
+qml.files = qmldir
+qml.path = $$[QT_INSTALL_IMPORTS]/$$PLUGIN_IMPORT_PATH
+INSTALLS += target qml
index 1520a33..0ebf783 100644 (file)
@@ -44,3 +44,6 @@ isEqual(MEEGO_EDITION, harmattan) {
 SOURCES += qtcamviewfinderrenderermeego.cpp
 HEADERS += qtcamviewfinderrenderermeego.h
 }
+
+target.path = /usr/lib/
+INSTALLS += target
index e77eae2..f73043f 100644 (file)
@@ -29,3 +29,6 @@ contains(CONFIG, qmljsdebug) {
     QT += script
     include(../qmljsdebugger/qmljsdebugger-src.pri)
 }
+
+target.path = /usr/bin/
+INSTALLS += target