--- a/src/designer/src/uitools/uitools.pro
+++ b/src/designer/src/uitools/uitools.pro
@@ -12,9 +12,4 @@
     QFORMINTERNAL_NAMESPACE \
     QT_DESIGNER_STATIC
 
-# QtUiPlugins end up in designer for historical reasons. However, if
-# designer isn't actually built, we need to claim the plugin type here.
-!qtBuildPart(tools): \
-    MODULE_PLUGIN_TYPES = designer
-
 load(qt_module)
