diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2012-11-21 14:04:34 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-21 16:36:50 +0100 |
commit | 626283740f9e670a9756e792d36b7cfe6a02cf45 (patch) | |
tree | 1abb9662ce38bf42b6adb2a5903bdca50c0d0362 /examples/widgets/scroller | |
parent | 23e44afe7a27a385f430fbae9ce4948a44b93bce (diff) |
Fix building of examples.
- Correct install path of widget examples to contain widgets
directory in target tree.
- Add missing resources.
Task-number: QTBUG-27977
Change-Id: If4cb117998892b0b165d7678367553d3a7553b91
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'examples/widgets/scroller')
-rw-r--r-- | examples/widgets/scroller/graphicsview/graphicsview.pro | 4 | ||||
-rw-r--r-- | examples/widgets/scroller/scroller.pro | 5 |
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 |