summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2011-08-19 12:50:18 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-08-23 14:34:48 +0200
commit1bf7fc2f1acbef9d2f6bf9d39958f8f56328fafe (patch)
tree981186d3e79f5a9a17bfb22c8ca10d94f030f664 /examples
parentbf58826a1a7a8ded55a69537ee1a87a4a0554edc (diff)
make 'make install' install
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>
Diffstat (limited to 'examples')
-rw-r--r--examples/opengl/hellowindow/hellowindow.pro8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.pro b/examples/opengl/hellowindow/hellowindow.pro
index 6492975d3b..44003d8863 100644
--- a/examples/opengl/hellowindow/hellowindow.pro
+++ b/examples/opengl/hellowindow/hellowindow.pro
@@ -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
+