From c527dd44be9cee5da06ce397f89e3a2595d4ed37 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 26 Nov 2012 14:04:31 +0100 Subject: Examples: Install to $$[QT_INSTALL_EXAMPLES]/$submodule/$example This makes the structure of the examples after an 'make install' similar to the one in a 'developer build'. Change-Id: I9120bd741fab332e64e30adc01cefe87e5633454 Reviewed-by: Martin Smith --- examples/widgets/statemachine/eventtransitions/eventtransitions.pro | 4 ++-- examples/widgets/statemachine/factorial/factorial.pro | 4 ++-- examples/widgets/statemachine/pingpong/pingpong.pro | 4 ++-- examples/widgets/statemachine/rogue/rogue.pro | 4 ++-- examples/widgets/statemachine/statemachine.pro | 4 ++-- examples/widgets/statemachine/trafficlight/trafficlight.pro | 4 ++-- examples/widgets/statemachine/twowaybutton/twowaybutton.pro | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) (limited to 'examples/widgets/statemachine') diff --git a/examples/widgets/statemachine/eventtransitions/eventtransitions.pro b/examples/widgets/statemachine/eventtransitions/eventtransitions.pro index 36bfe8e6fb..e6d6633de6 100644 --- a/examples/widgets/statemachine/eventtransitions/eventtransitions.pro +++ b/examples/widgets/statemachine/eventtransitions/eventtransitions.pro @@ -1,9 +1,9 @@ SOURCES = main.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/eventtransitions +target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/eventtransitions sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS eventtransitions.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/eventtransitions +sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/eventtransitions INSTALLS += target sources QT += widgets diff --git a/examples/widgets/statemachine/factorial/factorial.pro b/examples/widgets/statemachine/factorial/factorial.pro index 6c831ea2cb..cb3900dbb6 100644 --- a/examples/widgets/statemachine/factorial/factorial.pro +++ b/examples/widgets/statemachine/factorial/factorial.pro @@ -5,9 +5,9 @@ mac:CONFIG -= app_bundle SOURCES += main.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/factorial +target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/factorial sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS factorial.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/factorial +sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/factorial INSTALLS += target sources diff --git a/examples/widgets/statemachine/pingpong/pingpong.pro b/examples/widgets/statemachine/pingpong/pingpong.pro index b99060de75..b0d90d1a91 100644 --- a/examples/widgets/statemachine/pingpong/pingpong.pro +++ b/examples/widgets/statemachine/pingpong/pingpong.pro @@ -5,9 +5,9 @@ mac:CONFIG -= app_bundle SOURCES = main.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/pingpong +target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/pingpong sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS pingpong.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/pingpong +sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/pingpong INSTALLS += target sources diff --git a/examples/widgets/statemachine/rogue/rogue.pro b/examples/widgets/statemachine/rogue/rogue.pro index 32888d8390..a2cbe16aa1 100644 --- a/examples/widgets/statemachine/rogue/rogue.pro +++ b/examples/widgets/statemachine/rogue/rogue.pro @@ -4,9 +4,9 @@ SOURCES = main.cpp \ window.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/rogue +target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/rogue sources.files = $$SOURCES $$HEADERS *.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/rogue +sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/rogue INSTALLS += target sources QT += widgets diff --git a/examples/widgets/statemachine/statemachine.pro b/examples/widgets/statemachine/statemachine.pro index 2a2d3b90ca..cc471e731f 100644 --- a/examples/widgets/statemachine/statemachine.pro +++ b/examples/widgets/statemachine/statemachine.pro @@ -12,7 +12,7 @@ SUBDIRS = \ } # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine +target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS statemachine.pro README -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine +sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine INSTALLS += target sources diff --git a/examples/widgets/statemachine/trafficlight/trafficlight.pro b/examples/widgets/statemachine/trafficlight/trafficlight.pro index 776da71c54..0b61879e55 100644 --- a/examples/widgets/statemachine/trafficlight/trafficlight.pro +++ b/examples/widgets/statemachine/trafficlight/trafficlight.pro @@ -1,9 +1,9 @@ SOURCES = main.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/trafficlight +target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/trafficlight sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS trafficlight.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/trafficlight +sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/trafficlight INSTALLS += target sources QT += widgets diff --git a/examples/widgets/statemachine/twowaybutton/twowaybutton.pro b/examples/widgets/statemachine/twowaybutton/twowaybutton.pro index d1d822c330..46626d36de 100644 --- a/examples/widgets/statemachine/twowaybutton/twowaybutton.pro +++ b/examples/widgets/statemachine/twowaybutton/twowaybutton.pro @@ -1,9 +1,9 @@ SOURCES = main.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/twowaybutton +target.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/twowaybutton sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS twowaybutton.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/statemachine/twowaybutton +sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/statemachine/twowaybutton INSTALLS += target sources QT += widgets -- cgit v1.2.3