diff options
Diffstat (limited to 'examples')
4 files changed, 24 insertions, 4 deletions
diff --git a/examples/designer/containerextension/containerextension.pro b/examples/designer/containerextension/containerextension.pro index 8183f2da2b..18b68a5f1b 100644 --- a/examples/designer/containerextension/containerextension.pro +++ b/examples/designer/containerextension/containerextension.pro @@ -1,9 +1,9 @@ #! [0] -TEMPLATE = lib +CONFIG += designer plugin #! [0] TARGET = $$qtLibraryTarget($$TARGET) #! [1] -CONFIG += designer plugin +TEMPLATE = lib #! [1] QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/designer @@ -19,6 +19,11 @@ SOURCES += multipagewidget.cpp \ multipagewidgetextensionfactory.cpp #! [2] +build_all:!build_pass { + CONFIG -= build_all + CONFIG += release +} + # install target.path = $$[QT_INSTALL_PLUGINS]/designer sources.files = $$SOURCES $$HEADERS *.pro diff --git a/examples/designer/customwidgetplugin/customwidgetplugin.pro b/examples/designer/customwidgetplugin/customwidgetplugin.pro index dc9281d911..399ad50bce 100644 --- a/examples/designer/customwidgetplugin/customwidgetplugin.pro +++ b/examples/designer/customwidgetplugin/customwidgetplugin.pro @@ -14,6 +14,11 @@ SOURCES = analogclock.cpp \ customwidgetplugin.cpp #! [3] +build_all:!build_pass { + CONFIG -= build_all + CONFIG += release +} + # install target.path = $$[QT_INSTALL_PLUGINS]/designer sources.files = $$SOURCES $$HEADERS *.pro diff --git a/examples/designer/taskmenuextension/taskmenuextension.pro b/examples/designer/taskmenuextension/taskmenuextension.pro index d0e76e8bf3..56b8f02c97 100644 --- a/examples/designer/taskmenuextension/taskmenuextension.pro +++ b/examples/designer/taskmenuextension/taskmenuextension.pro @@ -1,9 +1,9 @@ #! [0] -TEMPLATE = lib +CONFIG += designer plugin #! [0] TARGET = $$qtLibraryTarget($$TARGET) #! [1] -CONFIG += designer plugin +TEMPLATE = lib #! [1] QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/designer @@ -18,6 +18,11 @@ SOURCES += tictactoe.cpp \ tictactoetaskmenu.cpp #! [2] +build_all:!build_pass { + CONFIG -= build_all + CONFIG += release +} + # install target.path = $$[QT_INSTALL_PLUGINS]/designer sources.files = $$SOURCES $$HEADERS *.pro diff --git a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro b/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro index 44500cb40d..b516cdabab 100644 --- a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro +++ b/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro @@ -14,6 +14,11 @@ SOURCES = worldtimeclock.cpp \ worldtimeclockplugin.cpp #! [2] +build_all:!build_pass { + CONFIG -= build_all + CONFIG += release +} + # install target.path = $$[QT_INSTALL_PLUGINS]/designer sources.files = $$SOURCES $$HEADERS *.pro |