Fix installation of spectrum example
authorMithra Pattison <mithra.pattison@nokia.com>
Fri, 29 Jun 2012 03:47:15 +0000 (13:47 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Jul 2012 00:59:10 +0000 (02:59 +0200)
Fixed setup of spectrum project, to correctly install the spectrum
executable.

Task-number: QTBUG-13018
Change-Id: Ifcc55d02cf0e50f9c1015fa89b5f2d851b2a44c4
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
examples/spectrum/app/app.pro

index aec69d2..647dbb8 100644 (file)
@@ -58,11 +58,12 @@ RESOURCES = spectrum.qrc
 
 # Install
 
+target.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/spectrum
 sources.files = $$SOURCES $$HEADERS $$RESOURCES app.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/spectrum/app
 images.files += images/record.png images/settings.png
 images.path = $$[QT_INSTALL_EXAMPLES]/qtmultimedia/spectrum/app/images
-INSTALLS += sources images
+INSTALLS += target sources images
 
 # Deployment