From: zccrs Date: Thu, 8 Mar 2018 02:15:19 +0000 (+0800) Subject: fix: the value of \"includes.path\" is wrong X-Git-Tag: archive/raspbian/5.7.12-2+rpi1^2~122^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ebdec09ff33bac9c783918e8a550630b334e7eeb;p=dtkcore.git fix: the value of \"includes.path\" is wrong only in qtcreator have "str_member" function Change-Id: I018591864ecbde9995a2b61759088bce0743a3ab --- diff --git a/src/dtk_build.prf b/src/dtk_build.prf index 395303a..5211566 100644 --- a/src/dtk_build.prf +++ b/src/dtk_build.prf @@ -71,7 +71,7 @@ isEmpty(INCLUDE_INSTALL_DIR) { } DTK_INCLUDEPATH = $$INCLUDE_INSTALL_DIR -isEmpty(includes.path): includes.path = $$DTK_INCLUDEPATH/D$$upper($$str_member($$TARGET, 3, 3))$$str_member($$TARGET, 4, -1) +isEmpty(includes.path): includes.path = $$quote($$DTK_INCLUDEPATH/D$$upper($$member($$list($$split(TARGET,)), 3, 3))$$join($$list($$member($$list($$split(TARGET,)), 4, -1))),) !isEmpty(DTK_STATIC_LIB) { DEFINES += DTK_STATIC_LIB