[QBS] Why we need set Qt Default Path for qt-based application?

Ruslan Nigmatullin EuroElessar at yandex.ru
Wed Mar 14 10:08:00 CET 2012


14.03.2012, 15:01, "Joerg Bornemann" <joerg.bornemann at nokia.com>:
> On 14/03/2012 05:43, ext Loaden wrote:
>
>>  When I test Qbs with "tests\manual\application", I got this error, So I
>>  wonder why we need set a default qt path?
>
> qbs does not use the current environment to build a project.
> It uses its own build environment. The up-side is that you do not have
> to build your projects in the right shell. Especially on Windows is this
> useful where you usually use separate shells for MSVC Win32 and MSVC
> x64. Same goes for Qt versions: you don't have to fiddle around with the
> environment to build with a different Qt version.
> The down-side is that you have to register your Qt version somewhere.
>
>>  And how to set it?
>
> See Stéphane's mail. :)
>
> BR,
>
> Jörg

Why don't qbs try to detect Qt's installation at first run? It should work in most situations correctly.
Qbs may get all needed information from Qt's QLibraryInfo



More information about the Qbs mailing list