[QBS] Building against developer-build

Christian Gagneraud chgans at gna.org
Fri May 1 02:40:04 CEST 2015


On 01/05/15 10:29, Dmitry Volosnykh wrote:
> I've build Qt5 from sources like wiki page suggests.
>
> In my .qbs project I define dependencies as follows:
>
> QtGuiApplication {
>      Depends { name: "Qt"; submodules: [ "gui", "qml", "quick" ] }
>      Depends { name: "cpp" }
> }
>
> This leads to the following parameters to clang:
>
> -I/.../qt5_dev/qtbase/lib/QtCore.framework/Headers
>
> However there's no such path. Corresponding headers appear to be located
> at /.../qt5_dev/qtbase/include/QtCore
>

Hi Dmitry,

Not sure, if it helps, but i was digging the QBS code this morning, and 
I found that Qt modules are manage in C++, basically the C++ code parse 
the qmake files and so - I guess - relies on the qmake env variables, 
maybe you could try setting QDIR or something like that.

Other idea: Have you try playing with qbs-setup-qt and 
qbs-setup-toolchains (see http://doc.qt.io/qbs/qt-versions.html)

My 2 cents,
Krys


>
> Do I miss something or building against non-installed Qt 5 is not supported?
>
> The same project builds fine against ordinary Qt 5.4 installation.
>
>
> Regards,
>
> Dmitry.
>
>
>
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>




More information about the Qbs mailing list