[QBS] Export cpp.defines

St├ęphane Fabry sf at xris.eu
Sat Jun 27 23:40:09 CEST 2015


Hi,

I just ran into  problem by upgrading to QtCreator 3.4.1  and Qt 5.4.2

I have different libraries which exports some cpp defines this way:

Export{

         Depends  {  name:  "cpp"  }

         cpp.includePaths:  "src"

         cpp.defines:  "QWT_DLL"

}

Then I have a product that depends on those libraries, and now depending on the order of the Depends statement in the product,
  the defines of the first are hidden by the defines of the next one...




Any suggestions, ideas ?


Thanks !




St├ęphane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150627/66006395/attachment.html>


More information about the Qbs mailing list