make 'make install' install
authorPaul Olav Tvete <paul.tvete@nokia.com>
Fri, 19 Aug 2011 10:50:18 +0000 (12:50 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Tue, 23 Aug 2011 12:34:48 +0000 (14:34 +0200)
Change-Id: I766e7917f6362b1f9cc26d18381e8d76eaf6ff83
Reviewed-on: http://codereview.qt.nokia.com/3261
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
examples/opengl/hellowindow/hellowindow.pro

index 6492975..44003d8 100644 (file)
@@ -3,7 +3,6 @@
 ######################################################################
 
 TEMPLATE = app
-TARGET = 
 DEPENDPATH += .
 INCLUDEPATH += .
 
@@ -12,3 +11,10 @@ QT += opengl widgets
 # Input
 HEADERS += hellowindow.h
 SOURCES += hellowindow.cpp main.cpp
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl/hellowindow
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS hellowindow.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl/hellowindow
+INSTALLS += target sources
+