<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 6, 2015, at 1:35 PM, olivier musse <<a href="mailto:olivier.musse@sfr.fr" class="">olivier.musse@sfr.fr</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  

    <meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    Hi,<br class="">
    <br class="">
    I upgraded to last QCreator version 3.5.0 from previous 3.4.2 and
    some of my projects no more compile.<br class="">
    I found the issue:<br class="">
    In some static libraries, I used to export cpp.includepath like
    that:<br class="">
    <span style=" color:#800080;" class="">Export</span>{
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;" class=""><span style=" color:#c0c0c0;" class="">        </span><span style=" color:#800000;" class="">cpp.includePaths</span>:<span style=" color:#c0c0c0;" class=""> </span>[<span style="font-style: italic;" class="">buildDirectory</span>+<span style=" color:#008000;" class="">"/GeneratedFiles"</span>]</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;" class=""><span style=" color:#c0c0c0;" class="">    </span>}</pre>
    <br class="">
    So that all application depending on this library has the
    GeneratedFiles of the library as a include path. <br class="">
    In previous QBS version, buildDirectory seems interpreted in Export
    so that it is replaced with the library buildDirectory => the
    application compiled well<br class="">
    In last QBS version, buildDirectory seems interpreted in the
    application so that it is replaced with the application
    buildDirectory => the application does not compiled. <br class="">
    <br class="">
    I found a work around forcing buildDirectory to be interpreted in
    Library by using an intermediate property. <br class="">
    <span style=" color:#c0c0c0;" class=""> </span><span style=" color:#808000;" class="">property</span><span style=" color:#c0c0c0;" class=""> </span><span style=" color:#808000;" class="">string</span><span style=" color:#c0c0c0;" class=""> </span><span style=" color:#800000;" class="">generFiles</span>:<span style="font-style: italic;" class="">buildDirectory</span>+<span style=" color:#008000;" class="">"/GeneratedFiles"</span>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;" class=""><span style=" color:#c0c0c0;" class="">    </span><span style=" color:#800080;" class="">Export</span>{</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;" class=""><span style=" color:#c0c0c0;" class="">        </span><span style=" color:#800000;" class="">cpp.includePaths</span>:<span style=" color:#c0c0c0;" class=""> </span>[product.generFiles]</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;" class=""><span style=" color:#c0c0c0;" class="">    </span>}</pre>
     <br class="">
    Does this change in behavior is normal? <br class="">
    If yes, is there any solution better than the work around I found?<br class="">
    <br class="">
    Many thanks in advance for help. <br class="">
    <br class="">
    <br class="">
    Regards<br class="">
    <br class="">
    Olivier<br class="">
    <br class="">
  </div>

_______________________________________________<br class="">QBS mailing list<br class=""><a href="mailto:QBS@qt-project.org" class="">QBS@qt-project.org</a><br class="">http://lists.qt-project.org/mailman/listinfo/qbs<br class=""></div></blockquote></div><div class=""><br class=""></div>In Export you'll want to use <font face="Courier New" class="">product.buildDirectory</font> now.<br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">-- <br class="">Jake Petroules - jake.petroules at <a href="http://petroules.com" class="">petroules.com</a><br class=""></div>

</div>
<br class=""></body></html>