diff options
Diffstat (limited to 'examples/designer/customwidgetplugin/customwidgetplugin.pro')
-rw-r--r-- | examples/designer/customwidgetplugin/customwidgetplugin.pro | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/examples/designer/customwidgetplugin/customwidgetplugin.pro b/examples/designer/customwidgetplugin/customwidgetplugin.pro index 1447acdc4..07428304b 100644 --- a/examples/designer/customwidgetplugin/customwidgetplugin.pro +++ b/examples/designer/customwidgetplugin/customwidgetplugin.pro @@ -1,32 +1,23 @@ -#! [0] +#! [1] QT += widgets uiplugin -#! [0] +#! [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: - -#! [2] +#! [0] CONFIG += plugin TEMPLATE = lib -#! [2] +#! [0] +#! [3] TARGET = $$qtLibraryTarget($$TARGET) target.path = $$[QT_INSTALL_PLUGINS]/designer INSTALLS += target - -} - #! [3] + +#! [2] HEADERS = analogclock.h \ customwidgetplugin.h SOURCES = analogclock.cpp \ customwidgetplugin.cpp OTHER_FILES += analogclock.json -#! [3] +#! [2] |