fix: the value of \"includes.path\" is wrong
authorzccrs <ccrr1314@live.com>
Thu, 8 Mar 2018 02:15:19 +0000 (10:15 +0800)
committerzccrs <ccrr1314@live.com>
Thu, 8 Mar 2018 02:51:25 +0000 (10:51 +0800)
only in qtcreator have "str_member" function

Change-Id: I018591864ecbde9995a2b61759088bce0743a3ab

src/dtk_build.prf

index 395303addc245a8e2b7e95e5d75e8cb720dc5846..52115669d71cb89ae59db738b2c13baf456e6cb9 100644 (file)
@@ -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