diff options
author | hjk <qthjk@ovi.com> | 2012-11-26 14:04:31 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-26 14:35:23 +0100 |
commit | c527dd44be9cee5da06ce397f89e3a2595d4ed37 (patch) | |
tree | 05d6d59ff9439832735ba3ee429acb7be3994af0 /examples/tools | |
parent | b34c48d95bf94f787fe693e28126e37a4bb485c1 (diff) | |
download | qtbase-c527dd44be9cee5da06ce397f89e3a2595d4ed37.tar.gz |
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 <martin.smith@digia.com>
Diffstat (limited to 'examples/tools')
21 files changed, 42 insertions, 42 deletions
diff --git a/examples/tools/codecs/codecs.pro b/examples/tools/codecs/codecs.pro index 7f1ff0f308..377dfaa8c9 100644 --- a/examples/tools/codecs/codecs.pro +++ b/examples/tools/codecs/codecs.pro @@ -5,9 +5,9 @@ SOURCES += main.cpp \ previewform.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/codecs +target.path = $$[QT_INSTALL_EXAMPLES]/tools/codecs sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS encodedfiles codecs.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/codecs +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/codecs INSTALLS += target sources QT += widgets diff --git a/examples/tools/completer/completer.pro b/examples/tools/completer/completer.pro index 67008b5dd2..a735b7ceae 100644 --- a/examples/tools/completer/completer.pro +++ b/examples/tools/completer/completer.pro @@ -6,9 +6,9 @@ SOURCES = fsmodel.cpp \ RESOURCES = completer.qrc # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/completer +target.path = $$[QT_INSTALL_EXAMPLES]/tools/completer sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS completer.pro resources -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/completer +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/completer INSTALLS += target sources QT += widgets diff --git a/examples/tools/contiguouscache/contiguouscache.pro b/examples/tools/contiguouscache/contiguouscache.pro index ca6d4f4e31..2b8b3e9365 100644 --- a/examples/tools/contiguouscache/contiguouscache.pro +++ b/examples/tools/contiguouscache/contiguouscache.pro @@ -3,9 +3,9 @@ SOURCES = randomlistmodel.cpp \ main.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/contiguouscache +target.path = $$[QT_INSTALL_EXAMPLES]/tools/contiguouscache sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS contiguouscache.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/contiguouscache +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/contiguouscache INSTALLS += target sources QT += widgets diff --git a/examples/tools/customcompleter/customcompleter.pro b/examples/tools/customcompleter/customcompleter.pro index fd4a101e88..b61cb510e9 100644 --- a/examples/tools/customcompleter/customcompleter.pro +++ b/examples/tools/customcompleter/customcompleter.pro @@ -6,9 +6,9 @@ SOURCES = main.cpp \ RESOURCES = customcompleter.qrc # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/customcompleter +target.path = $$[QT_INSTALL_EXAMPLES]/tools/customcompleter sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS customcompleter.pro resources -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/customcompleter +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/customcompleter INSTALLS += target sources QT += widgets diff --git a/examples/tools/echoplugin/echoplugin.pro b/examples/tools/echoplugin/echoplugin.pro index 06ef2e1117..ffd48fd25f 100644 --- a/examples/tools/echoplugin/echoplugin.pro +++ b/examples/tools/echoplugin/echoplugin.pro @@ -5,9 +5,9 @@ SUBDIRS = echowindow \ #! [0] # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/echoplugin +target.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS echoplugin.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/echoplugin +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin INSTALLS += target sources QT += widgets diff --git a/examples/tools/echoplugin/echowindow/echowindow.pro b/examples/tools/echoplugin/echowindow/echowindow.pro index 0b7c307f7a..90bc831de1 100644 --- a/examples/tools/echoplugin/echowindow/echowindow.pro +++ b/examples/tools/echoplugin/echowindow/echowindow.pro @@ -13,9 +13,9 @@ win32 { } # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/echoplugin +target.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS echowindow.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/echoplugin/echowindow +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin/echowindow INSTALLS += target sources QT += widgets diff --git a/examples/tools/echoplugin/plugin/plugin.pro b/examples/tools/echoplugin/plugin/plugin.pro index 1275fd410b..532a382586 100644 --- a/examples/tools/echoplugin/plugin/plugin.pro +++ b/examples/tools/echoplugin/plugin/plugin.pro @@ -10,9 +10,9 @@ DESTDIR = ../plugins #! [0] # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/echoplugin/plugin +target.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin/plugin sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro echoplugin.json -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/echoplugin/plugin +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin/plugin INSTALLS += target sources QT += widgets diff --git a/examples/tools/i18n/i18n.pro b/examples/tools/i18n/i18n.pro index 794e010648..a02e25dcd0 100644 --- a/examples/tools/i18n/i18n.pro +++ b/examples/tools/i18n/i18n.pro @@ -20,9 +20,9 @@ TRANSLATIONS += translations/i18n_ar.ts \ translations/i18n_zh.ts # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/i18n +target.path = $$[QT_INSTALL_EXAMPLES]/tools/i18n sources.files = $$SOURCES $$HEADERS $$RESOURCES translations i18n.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/i18n +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/i18n INSTALLS += target sources QT += widgets diff --git a/examples/tools/plugandpaint/plugandpaint.pro b/examples/tools/plugandpaint/plugandpaint.pro index 935b6b3c06..d9b836c7ae 100644 --- a/examples/tools/plugandpaint/plugandpaint.pro +++ b/examples/tools/plugandpaint/plugandpaint.pro @@ -17,9 +17,9 @@ if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { #! [0] # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaint +target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugandpaint.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaint +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint INSTALLS += target sources QT += widgets diff --git a/examples/tools/plugandpaintplugins/basictools/basictools.pro b/examples/tools/plugandpaintplugins/basictools/basictools.pro index f3b197a60f..3190e45c46 100644 --- a/examples/tools/plugandpaintplugins/basictools/basictools.pro +++ b/examples/tools/plugandpaintplugins/basictools/basictools.pro @@ -10,9 +10,9 @@ DESTDIR = ../../plugandpaint/plugins #! [0] # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaint/plugins +target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint/plugins sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS basictools.pro basictools.json -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaintplugins/basictools +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaintplugins/basictools INSTALLS += target sources QT += widgets diff --git a/examples/tools/plugandpaintplugins/extrafilters/extrafilters.pro b/examples/tools/plugandpaintplugins/extrafilters/extrafilters.pro index 9df5878416..bc7ccffc0a 100644 --- a/examples/tools/plugandpaintplugins/extrafilters/extrafilters.pro +++ b/examples/tools/plugandpaintplugins/extrafilters/extrafilters.pro @@ -10,9 +10,9 @@ DESTDIR = ../../plugandpaint/plugins #! [0] # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaint/plugins +target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint/plugins sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS extrafilters.pro extrafilters.json -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaintplugins/extrafilters +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaintplugins/extrafilters INSTALLS += target sources diff --git a/examples/tools/plugandpaintplugins/plugandpaintplugins.pro b/examples/tools/plugandpaintplugins/plugandpaintplugins.pro index 5e783df478..8eab48e92d 100644 --- a/examples/tools/plugandpaintplugins/plugandpaintplugins.pro +++ b/examples/tools/plugandpaintplugins/plugandpaintplugins.pro @@ -3,9 +3,9 @@ SUBDIRS = basictools \ extrafilters # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaintplugins +target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaintplugins sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugandpaintplugins.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/plugandpaintplugins +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaintplugins INSTALLS += target sources QT += widgets diff --git a/examples/tools/regexp/regexp.pro b/examples/tools/regexp/regexp.pro index 48cd6d362a..8e88511ead 100644 --- a/examples/tools/regexp/regexp.pro +++ b/examples/tools/regexp/regexp.pro @@ -3,9 +3,9 @@ SOURCES = regexpdialog.cpp \ main.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/regexp +target.path = $$[QT_INSTALL_EXAMPLES]/tools/regexp sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS regexp.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/regexp +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/regexp INSTALLS += target sources QT += widgets diff --git a/examples/tools/settingseditor/settingseditor.pro b/examples/tools/settingseditor/settingseditor.pro index 79bcdf5dfe..2499b22436 100644 --- a/examples/tools/settingseditor/settingseditor.pro +++ b/examples/tools/settingseditor/settingseditor.pro @@ -9,9 +9,9 @@ SOURCES = locationdialog.cpp \ variantdelegate.cpp # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/settingseditor +target.path = $$[QT_INSTALL_EXAMPLES]/tools/settingseditor sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS settingseditor.pro inifiles -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/settingseditor +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/settingseditor INSTALLS += target sources QT += widgets diff --git a/examples/tools/styleplugin/plugin/plugin.pro b/examples/tools/styleplugin/plugin/plugin.pro index b0dd871b7b..c13af5a36c 100644 --- a/examples/tools/styleplugin/plugin/plugin.pro +++ b/examples/tools/styleplugin/plugin/plugin.pro @@ -16,9 +16,9 @@ win32 { } # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/styleplugin/styles +target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin/styles sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/styleplugin/plugin +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin/plugin INSTALLS += target sources diff --git a/examples/tools/styleplugin/styleplugin.pro b/examples/tools/styleplugin/styleplugin.pro index 51a5e4ec9f..63805a14cc 100644 --- a/examples/tools/styleplugin/styleplugin.pro +++ b/examples/tools/styleplugin/styleplugin.pro @@ -3,9 +3,9 @@ SUBDIRS = stylewindow \ plugin # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/styleplugin +target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS styleplugin.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/styleplugin +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin INSTALLS += target sources QT += widgets diff --git a/examples/tools/styleplugin/stylewindow/stylewindow.pro b/examples/tools/styleplugin/stylewindow/stylewindow.pro index 319e230943..658a46134b 100644 --- a/examples/tools/styleplugin/stylewindow/stylewindow.pro +++ b/examples/tools/styleplugin/stylewindow/stylewindow.pro @@ -11,9 +11,9 @@ win32 { } # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/styleplugin +target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS stylewindow.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/styleplugin/stylewindow +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin/stylewindow INSTALLS += target sources QT += widgets diff --git a/examples/tools/tools.pro b/examples/tools/tools.pro index c72dbd404d..c0e5b5aa75 100644 --- a/examples/tools/tools.pro +++ b/examples/tools/tools.pro @@ -18,7 +18,7 @@ SUBDIRS = codecs \ plugandpaint.depends = plugandpaintplugins # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools +target.path = $$[QT_INSTALL_EXAMPLES]/tools sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS tools.pro README -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools +sources.path = $$[QT_INSTALL_EXAMPLES]/tools INSTALLS += target sources diff --git a/examples/tools/treemodelcompleter/treemodelcompleter.pro b/examples/tools/treemodelcompleter/treemodelcompleter.pro index 82d8404446..ffdf9b647d 100644 --- a/examples/tools/treemodelcompleter/treemodelcompleter.pro +++ b/examples/tools/treemodelcompleter/treemodelcompleter.pro @@ -6,9 +6,9 @@ SOURCES = treemodelcompleter.cpp \ RESOURCES = treemodelcompleter.qrc # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/treemodelcompleter +target.path = $$[QT_INSTALL_EXAMPLES]/tools/treemodelcompleter sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS treemodelcompleter.pro resources -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/treemodelcompleter +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/treemodelcompleter INSTALLS += target sources QT += widgets diff --git a/examples/tools/undo/undo.pro b/examples/tools/undo/undo.pro index bf7dc388ee..e61b678a93 100644 --- a/examples/tools/undo/undo.pro +++ b/examples/tools/undo/undo.pro @@ -10,9 +10,9 @@ build_all:!build_pass { RESOURCES += undo.qrc # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/undo +target.path = $$[QT_INSTALL_EXAMPLES]/tools/undo sources.files = $$SOURCES $$HEADERS *.pro icons $$RESOURCES $$FORMS -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/undo +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/undo INSTALLS += target sources QT += widgets diff --git a/examples/tools/undoframework/undoframework.pro b/examples/tools/undoframework/undoframework.pro index a51a43721e..d50247442a 100644 --- a/examples/tools/undoframework/undoframework.pro +++ b/examples/tools/undoframework/undoframework.pro @@ -10,9 +10,9 @@ SOURCES = commands.cpp \ RESOURCES = undoframework.qrc # install -target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/undoframework +target.path = $$[QT_INSTALL_EXAMPLES]/tools/undoframework sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS undoframework.pro README images -sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/undoframework +sources.path = $$[QT_INSTALL_EXAMPLES]/tools/undoframework INSTALLS += target sources QT += widgets |