From 433b85769559f7cfc6201157a388122dc92337a0 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sun, 16 May 2021 20:33:45 -0700 Subject: [PATCH] DolphinQt: Add quotes around QtIncludeDir on Windows If the path $(QtIncludeDir) has a space in it Visual Studio interprets the first part as the full path and chokes on the second part. Quote the path to fix the problem. --- Source/VSProps/QtCompile.props | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)