diff --git a/Source/VSProps/QtCompile.props b/Source/VSProps/QtCompile.props
index 60e4b32939..e76a05b537 100644
--- a/Source/VSProps/QtCompile.props
+++ b/Source/VSProps/QtCompile.props
@@ -7,7 +7,8 @@
$(QTDIR)\
false
true
- $(QTDIR)include\
+ $(QTDIR)include
+ $(QtIncludeDirWithoutTrailingSeparator)\
$(QTDIR)lib\
$(QTDIR)bin\
$(QTDIR)plugins\
@@ -32,7 +33,7 @@
-->
%(AdditionalOptions) /experimental:external
%(AdditionalOptions) /external:W0
- %(AdditionalOptions) /external:I$(QtIncludeDir)
+ %(AdditionalOptions) /external:I "$(QtIncludeDirWithoutTrailingSeparator)"
$(QtLibDir);%(AdditionalLibraryDirectories)