From ebdec09ff33bac9c783918e8a550630b334e7eeb Mon Sep 17 00:00:00 2001 From: zccrs Date: Thu, 8 Mar 2018 10:15:19 +0800 Subject: [PATCH] fix: the value of \"includes.path\" is wrong only in qtcreator have "str_member" function Change-Id: I018591864ecbde9995a2b61759088bce0743a3ab --- src/dtk_build.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2