summaryrefslogtreecommitdiffstats
path: root/examples/widgets/scroller
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/scroller')
-rw-r--r--examples/widgets/scroller/graphicsview/graphicsview.pro4
-rw-r--r--examples/widgets/scroller/scroller.pro5
2 files changed, 7 insertions, 2 deletions
diff --git a/examples/widgets/scroller/graphicsview/graphicsview.pro b/examples/widgets/scroller/graphicsview/graphicsview.pro
index ccfb82d0ca..90c203a49b 100644
--- a/examples/widgets/scroller/graphicsview/graphicsview.pro
+++ b/examples/widgets/scroller/graphicsview/graphicsview.pro
@@ -2,8 +2,8 @@ TEMPLATE = app
SOURCES = main.cpp
# install
-target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/scroller/graphicsview
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/scroller/graphicsview
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS graphicsview.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/scroller/graphicsview
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/scroller/graphicsview
INSTALLS += target sources
QT += widgets
diff --git a/examples/widgets/scroller/scroller.pro b/examples/widgets/scroller/scroller.pro
index bac3f26554..ef7671f6b0 100644
--- a/examples/widgets/scroller/scroller.pro
+++ b/examples/widgets/scroller/scroller.pro
@@ -1,2 +1,7 @@
TEMPLATE = subdirs
SUBDIRS += graphicsview
+
+# install
+sources.files = scroller.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/scroller
+INSTALLS += sources