+QT += designer
+
+QTDIR_build {
+# This is only for the Qt build. Do not use externally. We mean it.
+PLUGIN_TYPE = designer
+load(qt_plugin)
+} else {
+# Public example:
CONFIG += plugin
-QT += designer
TEMPLATE = lib
-TARGET = $$qtLibraryTarget(arthurplugin)
-DESTDIR = $$QT.designer.plugins/designer
+
+TARGET = $$qtLibraryTarget($$TARGET)
+
+target.path = $$[QT_INSTALL_PLUGINS]/designer
+INSTALLS += target
+
+}
contains(QT_CONFIG, opengl) {
DEFINES += QT_OPENGL_SUPPORT
RESOURCES += arthur_plugin.qrc
# install
-target.path = $$[QT_INSTALL_PLUGINS]/designer
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.jpg *.png
sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/arthurplugin
-INSTALLS += target sources
+INSTALLS += sources
win32-msvc* {
QMAKE_CFLAGS += /Zm500
+QTDIR_build {
+# This is only for the Qt build. Do not use externally. We mean it.
+PLUGIN_TYPE = designer
+load(qt_plugin)
+} else {
+# Public example:
+
#! [0]
TEMPLATE = lib
+CONFIG += plugin
#! [0]
+
TARGET = $$qtLibraryTarget($$TARGET)
+
+target.path = $$[QT_INSTALL_PLUGINS]/designer
+INSTALLS += target
+
+}
+
#! [1]
-CONFIG += plugin
QT += widgets designer
#! [1]
-DESTDIR = $$QT.designer.plugins/designer
#! [2]
HEADERS += multipagewidget.h \
#! [2]
# install
-target.path = $$[QT_INSTALL_PLUGINS]/designer
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/containerextension
-INSTALLS += target sources
+INSTALLS += sources
-#! [0] #! [1]
-CONFIG += plugin
+#! [0]
QT += widgets designer
#! [0]
-TARGET = $$qtLibraryTarget($$TARGET)
+
+QTDIR_build {
+# This is only for the Qt build. Do not use externally. We mean it.
+PLUGIN_TYPE = designer
+load(qt_plugin)
+} else {
+# Public example:
+
#! [2]
+CONFIG += plugin
TEMPLATE = lib
-#! [1] #! [2]
-DESTDIR = $$QT.designer.plugins/designer
+#! [2]
+
+TARGET = $$qtLibraryTarget($$TARGET)
+
+target.path = $$[QT_INSTALL_PLUGINS]/designer
+INSTALLS += target
+
+}
#! [3]
HEADERS = analogclock.h \
#! [3]
# install
-target.path = $$[QT_INSTALL_PLUGINS]/designer
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/customwidgetplugin
-INSTALLS += target sources
+INSTALLS += sources
#! [0]
-TEMPLATE = lib
+QT += widgets designer
#! [0]
-TARGET = $$qtLibraryTarget($$TARGET)
+
+QTDIR_build {
+# This is only for the Qt build. Do not use externally. We mean it.
+PLUGIN_TYPE = designer
+load(qt_plugin)
+} else {
+# Public example:
+
#! [1]
+TEMPLATE = lib
CONFIG += plugin
-QT += widgets designer
#! [1]
-DESTDIR = $$QT.designer.plugins/designer
+
+TARGET = $$qtLibraryTarget($$TARGET)
+
+target.path = $$[QT_INSTALL_PLUGINS]/designer
+INSTALLS += target
+
+}
#! [2]
HEADERS += tictactoe.h \
#! [2]
# install
-target.path = $$[QT_INSTALL_PLUGINS]/designer
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/taskmenuextension
-INSTALLS += target sources
+INSTALLS += sources
#! [0]
-CONFIG += plugin
QT += widgets designer
#! [0]
+
+QTDIR_build {
+# This is only for the Qt build. Do not use externally. We mean it.
+PLUGIN_TYPE = designer
+load(qt_plugin)
+} else {
+# Public example:
+
TARGET = $$qtLibraryTarget($$TARGET)
#! [1]
+CONFIG += plugin
TEMPLATE = lib
#! [1]
-DESTDIR = $$QT.designer.plugins/designer
+
+target.path = $$[QT_INSTALL_PLUGINS]/designer
+INSTALLS += target
+
+}
#! [2]
HEADERS = worldtimeclock.h \
#! [2]
# install
-target.path = $$[QT_INSTALL_PLUGINS]/designer
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/worldtimeclockplugin
-INSTALLS += target sources
+INSTALLS += sources
-TEMPLATE = lib
TARGET = qaxwidget
-DESTDIR = $$QT.designer.plugins/designer
-CONFIG += qaxcontainer qt warn_on plugin
+CONFIG += qaxcontainer
QT += widgets designer-private
include(../plugins.pri)
QT += designer
-!build_pass:contains(QT_CONFIG, build_all): CONFIG += release
-DESTDIR = $$QT.designer.plugins/designer
-contains(TEMPLATE, ".*lib"):TARGET = $$qtLibraryTarget($$TARGET)
-# install
-target.path = $$[QT_INSTALL_PLUGINS]/designer
-INSTALLS += target
-
-INCLUDEPATH += $$QT.designer.includes
+PLUGIN_TYPE = designer
+CNOFIG += tool_plugin
+load(qt_plugin)
-TEMPLATE = lib
TARGET = qwebview
-CONFIG += qt warn_on plugin
QT += widgets webkitwidgets
include(../plugins.pri)
-
-TEMPLATE = lib
QT += opengl widgets
-CONFIG += qt warn_on plugin
TARGET = view3d
include(../../plugins.pri)