diff --git a/src/designer/src/lib/lib.pro b/src/designer/src/lib/lib.pro
index de0dc73..eef68be 100644
--- a/src/designer/src/lib/lib.pro
+++ b/src/designer/src/lib/lib.pro
@@ -1,7 +1,8 @@
 TARGET = QtDesigner
 MODULE = designer
 
-QT = core-private gui-private widgets-private xml uiplugin
+QT = core-private gui-private widgets-private xml
+QT_PRIVATE += uiplugin
 
 DEFINES += \
     QDESIGNER_SDK_LIBRARY \