[QBS] Properties and base.concat
Joerg Bornemann
joerg.bornemann at nokia.com
Tue Mar 13 18:17:53 CET 2012
On 13/03/2012 16:40, ext Tom Sutcliffe wrote:
>>> Are there any other properties that we need to be wary of assigning
>>> directly to because of stuff done behind the scenes
>
> What about cpp.includePaths? I fell over this in
> \qbs\share\qbs\imports\qbs\base\QmlApp.qbs:
>
> Product {
> type: ["application", "installed_content"]
> Depends { name: "qt.declarative" }
> Depends { name: "cpp" }
> property string appViewerPath: localPath + "/qmlapplicationviewer"
> *cpp.includePaths: [appViewerPath]*
>
> Group {
> files: [
> appViewerPath + "/qmlapplicationviewer.h",
> appViewerPath + "/qmlapplicationviewer.cpp"
> ]
> }
>
> Should this be changed too, so that a user assigning to cpp.includePaths
> inside a QmlApp doesn't stomp over this defnition by mistake?
Well spotted! :)
This should be changed too by introducing a property like
platformIncludePaths or such.
Cheers,
Jörg
More information about the Qbs
mailing list