From 21919f04361dddcdec1893d00d7bca713aa5f40a Mon Sep 17 00:00:00 2001 From: Debao Zhang Date: Thu, 19 Mar 2020 01:54:14 +0800 Subject: [PATCH] .pro: Add INSTALL target for examples Change-Id: I1cdcf4fd748e6df5de70ddd7f336abc1e23436d1 --- examples/xlsx/calendar/calendar.pro | 4 ++++ examples/xlsx/chart/chart.pro | 4 ++++ examples/xlsx/chartsheet/chartsheet.pro | 4 ++++ examples/xlsx/conditionalformatting/conditionalformatting.pro | 4 ++++ examples/xlsx/datavalidation/datavalidation.pro | 4 ++++ examples/xlsx/definename/definename.pro | 4 ++++ examples/xlsx/demo/demo.pro | 4 ++++ examples/xlsx/documentproperty/documentproperty.pro | 3 +++ examples/xlsx/extractdata/extractdata.pro | 4 ++++ examples/xlsx/formulas/formulas.pro | 4 ++++ examples/xlsx/hello/hello.pro | 4 ++++ examples/xlsx/hyperlinks/hyperlinks.pro | 4 ++++ examples/xlsx/image/image.pro | 4 ++++ examples/xlsx/mergecells/mergecells.pro | 4 ++++ examples/xlsx/numberformat/numberformat.pro | 4 ++++ examples/xlsx/richtext/richtext.pro | 4 ++++ examples/xlsx/rowcolumn/rowcolumn.pro | 4 ++++ examples/xlsx/style/style.pro | 4 ++++ examples/xlsx/worksheetoperations/worksheetoperations.pro | 4 ++++ examples/xlsx/xlsxwidget/xlsxwidget.pro | 4 ++++ 20 files changed, 79 insertions(+) diff --git a/examples/xlsx/calendar/calendar.pro b/examples/xlsx/calendar/calendar.pro index a986e00..a9d10a1 100644 --- a/examples/xlsx/calendar/calendar.pro +++ b/examples/xlsx/calendar/calendar.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/calendar +INSTALLS += target diff --git a/examples/xlsx/chart/chart.pro b/examples/xlsx/chart/chart.pro index 71348ad..5d3eaee 100644 --- a/examples/xlsx/chart/chart.pro +++ b/examples/xlsx/chart/chart.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/chart +INSTALLS += target diff --git a/examples/xlsx/chartsheet/chartsheet.pro b/examples/xlsx/chartsheet/chartsheet.pro index 327b163..2f026ef 100644 --- a/examples/xlsx/chartsheet/chartsheet.pro +++ b/examples/xlsx/chartsheet/chartsheet.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/chartsheet +INSTALLS += target diff --git a/examples/xlsx/conditionalformatting/conditionalformatting.pro b/examples/xlsx/conditionalformatting/conditionalformatting.pro index 10d2978..8b47279 100644 --- a/examples/xlsx/conditionalformatting/conditionalformatting.pro +++ b/examples/xlsx/conditionalformatting/conditionalformatting.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/conditionalformatting +INSTALLS += target diff --git a/examples/xlsx/datavalidation/datavalidation.pro b/examples/xlsx/datavalidation/datavalidation.pro index 441bc66..44bf21c 100644 --- a/examples/xlsx/datavalidation/datavalidation.pro +++ b/examples/xlsx/datavalidation/datavalidation.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/datavalidation +INSTALLS += target diff --git a/examples/xlsx/definename/definename.pro b/examples/xlsx/definename/definename.pro index d2ba173..42d0e5e 100644 --- a/examples/xlsx/definename/definename.pro +++ b/examples/xlsx/definename/definename.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/definename +INSTALLS += target diff --git a/examples/xlsx/demo/demo.pro b/examples/xlsx/demo/demo.pro index 10c4270..fc7d5b0 100644 --- a/examples/xlsx/demo/demo.pro +++ b/examples/xlsx/demo/demo.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/demo +INSTALLS += target diff --git a/examples/xlsx/documentproperty/documentproperty.pro b/examples/xlsx/documentproperty/documentproperty.pro index 39c74d5..7520179 100644 --- a/examples/xlsx/documentproperty/documentproperty.pro +++ b/examples/xlsx/documentproperty/documentproperty.pro @@ -8,3 +8,6 @@ CONFIG -= app_bundle SOURCES += main.cpp +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/documentproperty +INSTALLS += target diff --git a/examples/xlsx/extractdata/extractdata.pro b/examples/xlsx/extractdata/extractdata.pro index 6a4bf4d..e7066ca 100644 --- a/examples/xlsx/extractdata/extractdata.pro +++ b/examples/xlsx/extractdata/extractdata.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/extractdata +INSTALLS += target diff --git a/examples/xlsx/formulas/formulas.pro b/examples/xlsx/formulas/formulas.pro index 10d2978..01069eb 100644 --- a/examples/xlsx/formulas/formulas.pro +++ b/examples/xlsx/formulas/formulas.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/formulas +INSTALLS += target diff --git a/examples/xlsx/hello/hello.pro b/examples/xlsx/hello/hello.pro index 10d2978..15910b8 100755 --- a/examples/xlsx/hello/hello.pro +++ b/examples/xlsx/hello/hello.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/hello +INSTALLS += target diff --git a/examples/xlsx/hyperlinks/hyperlinks.pro b/examples/xlsx/hyperlinks/hyperlinks.pro index c64e480..a91f1dc 100644 --- a/examples/xlsx/hyperlinks/hyperlinks.pro +++ b/examples/xlsx/hyperlinks/hyperlinks.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/hyperlinks +INSTALLS += target diff --git a/examples/xlsx/image/image.pro b/examples/xlsx/image/image.pro index 4b708c0..f5feeb4 100644 --- a/examples/xlsx/image/image.pro +++ b/examples/xlsx/image/image.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/image +INSTALLS += target diff --git a/examples/xlsx/mergecells/mergecells.pro b/examples/xlsx/mergecells/mergecells.pro index 8ceb295..dd84ae4 100644 --- a/examples/xlsx/mergecells/mergecells.pro +++ b/examples/xlsx/mergecells/mergecells.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/mergecells +INSTALLS += target diff --git a/examples/xlsx/numberformat/numberformat.pro b/examples/xlsx/numberformat/numberformat.pro index eb3863f..f77a1b4 100644 --- a/examples/xlsx/numberformat/numberformat.pro +++ b/examples/xlsx/numberformat/numberformat.pro @@ -10,3 +10,7 @@ CONFIG -= app_bundle TEMPLATE = app SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/numberformat +INSTALLS += target diff --git a/examples/xlsx/richtext/richtext.pro b/examples/xlsx/richtext/richtext.pro index 10d2978..b1ac896 100644 --- a/examples/xlsx/richtext/richtext.pro +++ b/examples/xlsx/richtext/richtext.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/richtext +INSTALLS += target diff --git a/examples/xlsx/rowcolumn/rowcolumn.pro b/examples/xlsx/rowcolumn/rowcolumn.pro index 4b708c0..c9b38e1 100644 --- a/examples/xlsx/rowcolumn/rowcolumn.pro +++ b/examples/xlsx/rowcolumn/rowcolumn.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/rowcolumn +INSTALLS += target diff --git a/examples/xlsx/style/style.pro b/examples/xlsx/style/style.pro index 3fbdcd6..7a90a2e 100644 --- a/examples/xlsx/style/style.pro +++ b/examples/xlsx/style/style.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/style +INSTALLS += target diff --git a/examples/xlsx/worksheetoperations/worksheetoperations.pro b/examples/xlsx/worksheetoperations/worksheetoperations.pro index ce90d1c..507901c 100644 --- a/examples/xlsx/worksheetoperations/worksheetoperations.pro +++ b/examples/xlsx/worksheetoperations/worksheetoperations.pro @@ -7,3 +7,7 @@ CONFIG += console CONFIG -= app_bundle SOURCES += main.cpp + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/worksheetoperations +INSTALLS += target diff --git a/examples/xlsx/xlsxwidget/xlsxwidget.pro b/examples/xlsx/xlsxwidget/xlsxwidget.pro index f303abc..a7fee77 100644 --- a/examples/xlsx/xlsxwidget/xlsxwidget.pro +++ b/examples/xlsx/xlsxwidget/xlsxwidget.pro @@ -10,3 +10,7 @@ SOURCES += main.cpp \ HEADERS += \ xlsxsheetmodel.h \ xlsxsheetmodel_p.h + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/xlsx/xlsxwidget +INSTALLS += target