summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
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
+