From ade2778bee0cb4d0ef797d2069459fc036af851d Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 25 Feb 2015 15:28:36 +0100 Subject: Fix VS build for target path with spaces VS expects references to $(TargetPath) to be quoted by the user. Task-number: QTBUG-25030 Change-Id: Ib5a07730836a42533d5488882e877074ccceea4c Reviewed-by: Prasanth Ullattil --- mkspecs/features/win32/idcidl.prf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mkspecs/features/win32') diff --git a/mkspecs/features/win32/idcidl.prf b/mkspecs/features/win32/idcidl.prf index 85e4cb9c5f..d70691fd40 100644 --- a/mkspecs/features/win32/idcidl.prf +++ b/mkspecs/features/win32/idcidl.prf @@ -13,7 +13,7 @@ qtPrepareTool(QMAKE_IDC, idc) contains(TEMPLATE, "vc.*") { ACTIVEQT_IDC = $${QMAKE_IDC} ACTIVEQT_IDL = $${QMAKE_IDL} - ACTIVEQT_TARGET = "$(TargetPath)" + ACTIVEQT_TARGET = \"$(TargetPath)\" win32-msvc { ACTIVEQT_NEWLINE = $$escape_expand(\\t) ACTIVEQT_OUTPUT = $(IntDir)/$${TARGET} @@ -21,7 +21,7 @@ contains(TEMPLATE, "vc.*") { ACTIVEQT_NEWLINE = $$escape_expand(\\n\\t) ACTIVEQT_OUTPUT = $(IntDir)$${TARGET} } - ACTIVEQT_TLBOUT = "$(TargetDir)/$${TARGET}.tlb" + ACTIVEQT_TLBOUT = \"$(TargetDir)/$${TARGET}.tlb\" GENERATED += $${OBJECTS_DIR}/$${TARGET}.idl $${ACTIVEQT_TLBOUT} } else { ACTIVEQT_IDC = -$(IDC) -- cgit v1.2.3