diff --git a/dep/vsprops/QtCompile.props b/dep/vsprops/QtCompile.props
index 8065c3502..9ac85483e 100644
--- a/dep/vsprops/QtCompile.props
+++ b/dep/vsprops/QtCompile.props
@@ -113,22 +113,40 @@
-
-
-
-
+ Condition="'@(QtUi)'!=''">
+
+
+ %(QtUi.FullPath)
+ "$(QtHostBinDir)uic.exe" "%(QtUi.FullPath)" -o "$(QtToolOutDir)ui_%(QtUi.Filename).h"
+ uic %(QtUi.Filename)
+ $(QtToolOutDir)ui_%(QtUi.Filename).h
+
+
-
+
+
+
+
+
+
+ <_QtUiOutOfDate Remove="@(_QtUiOutOfDate)" />
+
-
+