summaryrefslogtreecommitdiff
path: root/examples/declarative-camera/declarative-camera.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative-camera/declarative-camera.pro')
-rw-r--r--examples/declarative-camera/declarative-camera.pro19
1 files changed, 4 insertions, 15 deletions
diff --git a/examples/declarative-camera/declarative-camera.pro b/examples/declarative-camera/declarative-camera.pro
index a32ee127f..54d6f392e 100644
--- a/examples/declarative-camera/declarative-camera.pro
+++ b/examples/declarative-camera/declarative-camera.pro
@@ -5,20 +5,9 @@ QT += quick qml multimedia
SOURCES += qmlcamera.cpp
+# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/declarative-camera
+sources.files = $$SOURCES *.pro images *.qml
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/declarative-camera
+INSTALLS += target sources
-qml.files = declarative-camera.qml \
- CameraButton.qml \
- CameraPropertyButton.qml \
- CameraPropertyPopup.qml \
- FocusButton.qml \
- PhotoCaptureControls.qml \
- PhotoPreview.qml \
- VideoCaptureControls.qml \
- VideoPreview.qml \
- ZoomControl.qml \
- images
-
-qml.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/declarative-camera
-
-INSTALLS += target qml