summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2023-05-25 07:34:16 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-31 12:55:12 +0000
commitf0ff4035d68bb18846b3c0111ea47cae7dac60db (patch)
treed0fb852605d0c53418daa8dc8fc506c45e31b871
parente19fa789c3f4ebed589b3f8c267414a41a69bfc6 (diff)
Clean up Designer's extension plugins examples' qmake files
The QTDIR_build scopes are not used anymore. Change-Id: Ic722645641419b3beb22ac36a02a862f6e7b179e Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit f64ab44deb8b611911ede70911a57d37f773a3a4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/designer/containerextension/containerextension.pro10
-rw-r--r--examples/designer/customwidgetplugin/customwidgetplugin.pro10
-rw-r--r--examples/designer/taskmenuextension/taskmenuextension.pro10
3 files changed, 0 insertions, 30 deletions
diff --git a/examples/designer/containerextension/containerextension.pro b/examples/designer/containerextension/containerextension.pro
index f4a6fb32d..bf7b18e97 100644
--- a/examples/designer/containerextension/containerextension.pro
+++ b/examples/designer/containerextension/containerextension.pro
@@ -1,12 +1,3 @@
-QTDIR_build {
-# This is only for the Qt build. Do not use externally. We mean it.
-PLUGIN_TYPE = designer
-PLUGIN_CLASS_NAME = MultiPageWidgetPlugin
-load(qt_plugin)
-CONFIG += install_ok
-} else {
-# Public example:
-
#! [0]
TEMPLATE = lib
CONFIG += plugin
@@ -18,7 +9,6 @@ TARGET = $$qtLibraryTarget($$TARGET)
target.path = $$[QT_INSTALL_PLUGINS]/designer
INSTALLS += target
#! [3]
-}
#! [1]
QT += widgets designer
diff --git a/examples/designer/customwidgetplugin/customwidgetplugin.pro b/examples/designer/customwidgetplugin/customwidgetplugin.pro
index 92abd7529..07428304b 100644
--- a/examples/designer/customwidgetplugin/customwidgetplugin.pro
+++ b/examples/designer/customwidgetplugin/customwidgetplugin.pro
@@ -2,15 +2,6 @@
QT += widgets uiplugin
#! [1]
-QTDIR_build {
-# This is only for the Qt build. Do not use externally. We mean it.
-PLUGIN_TYPE = designer
-PLUGIN_CLASS_NAME = AnalogClockPlugin
-load(qt_plugin)
-CONFIG += install_ok
-} else {
-# Public example:
-
#! [0]
CONFIG += plugin
TEMPLATE = lib
@@ -22,7 +13,6 @@ TARGET = $$qtLibraryTarget($$TARGET)
target.path = $$[QT_INSTALL_PLUGINS]/designer
INSTALLS += target
#! [3]
-}
#! [2]
HEADERS = analogclock.h \
diff --git a/examples/designer/taskmenuextension/taskmenuextension.pro b/examples/designer/taskmenuextension/taskmenuextension.pro
index d71a3b93b..b4f8cbd1a 100644
--- a/examples/designer/taskmenuextension/taskmenuextension.pro
+++ b/examples/designer/taskmenuextension/taskmenuextension.pro
@@ -2,15 +2,6 @@
QT += widgets designer
#! [1]
-QTDIR_build {
-# This is only for the Qt build. Do not use externally. We mean it.
-PLUGIN_TYPE = designer
-PLUGIN_CLASS_NAME = TicTacToePlugin
-load(qt_plugin)
-CONFIG += install_ok
-} else {
-# Public example:
-
#! [0]
TEMPLATE = lib
CONFIG += plugin
@@ -22,7 +13,6 @@ TARGET = $$qtLibraryTarget($$TARGET)
target.path = $$[QT_INSTALL_PLUGINS]/designer
INSTALLS += target
#! [3]
-}
#! [2]
HEADERS += tictactoe.h \