From 626283740f9e670a9756e792d36b7cfe6a02cf45 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 21 Nov 2012 14:04:34 +0100 Subject: 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 --- examples/widgets/scroller/graphicsview/graphicsview.pro | 4 ++-- examples/widgets/scroller/scroller.pro | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'examples/widgets/scroller') 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 -- cgit v1.2.3