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/qtestlib/qtestlib.pro | 4 ++-- examples/qtestlib/tutorial1/tutorial1.pro | 4 ++-- examples/qtestlib/tutorial2/tutorial2.pro | 4 ++-- examples/qtestlib/tutorial3/tutorial3.pro | 4 ++-- examples/qtestlib/tutorial4/tutorial4.pro | 4 ++-- examples/qtestlib/tutorial5/tutorial5.pro | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'examples/qtestlib') diff --git a/examples/qtestlib/qtestlib.pro b/examples/qtestlib/qtestlib.pro index 9a1f6acfda..8addbcba63 100644 --- a/examples/qtestlib/qtestlib.pro +++ b/examples/qtestlib/qtestlib.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs SUBDIRS = tutorial1 tutorial2 tutorial3 tutorial4 tutorial5 # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib +target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS qtestlib.pro README -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib +sources.path = $$[QT_INSTALL_EXAMPLES]/qtestlib INSTALLS += target sources diff --git a/examples/qtestlib/tutorial1/tutorial1.pro b/examples/qtestlib/tutorial1/tutorial1.pro index 04bd515a1d..016de61d7b 100644 --- a/examples/qtestlib/tutorial1/tutorial1.pro +++ b/examples/qtestlib/tutorial1/tutorial1.pro @@ -2,9 +2,9 @@ SOURCES = testqstring.cpp QT += testlib # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial1 +target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial1 sources.files = $$SOURCES *.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial1 +sources.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial1 INSTALLS += target sources QT += widgets diff --git a/examples/qtestlib/tutorial2/tutorial2.pro b/examples/qtestlib/tutorial2/tutorial2.pro index e3cfd10d4e..b8f73a9b52 100644 --- a/examples/qtestlib/tutorial2/tutorial2.pro +++ b/examples/qtestlib/tutorial2/tutorial2.pro @@ -2,9 +2,9 @@ SOURCES = testqstring.cpp QT += testlib # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial2 +target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial2 sources.files = $$SOURCES *.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial2 +sources.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial2 INSTALLS += target sources QT += widgets diff --git a/examples/qtestlib/tutorial3/tutorial3.pro b/examples/qtestlib/tutorial3/tutorial3.pro index f9ea8be753..18183226ef 100644 --- a/examples/qtestlib/tutorial3/tutorial3.pro +++ b/examples/qtestlib/tutorial3/tutorial3.pro @@ -2,9 +2,9 @@ SOURCES = testgui.cpp QT += testlib # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial3 +target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial3 sources.files = $$SOURCES *.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial3 +sources.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial3 INSTALLS += target sources QT += widgets diff --git a/examples/qtestlib/tutorial4/tutorial4.pro b/examples/qtestlib/tutorial4/tutorial4.pro index cf0e317128..6c82aa6500 100644 --- a/examples/qtestlib/tutorial4/tutorial4.pro +++ b/examples/qtestlib/tutorial4/tutorial4.pro @@ -2,9 +2,9 @@ SOURCES = testgui.cpp QT += testlib # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial4 +target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial4 sources.files = $$SOURCES *.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial4 +sources.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial4 INSTALLS += target sources QT += widgets diff --git a/examples/qtestlib/tutorial5/tutorial5.pro b/examples/qtestlib/tutorial5/tutorial5.pro index 950996c8cb..3120c40912 100644 --- a/examples/qtestlib/tutorial5/tutorial5.pro +++ b/examples/qtestlib/tutorial5/tutorial5.pro @@ -2,9 +2,9 @@ SOURCES = benchmarking.cpp QT += testlib # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial5 +target.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial5 sources.files = $$SOURCES *.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtestlib/tutorial5 +sources.path = $$[QT_INSTALL_EXAMPLES]/qtestlib/tutorial5 INSTALLS += target sources QT += widgets -- cgit v1.2.3