[QBS] QBS not compiling with our compiled Qt version

olivier musse olivier.musse at sfr.fr
Fri Dec 5 13:57:52 CET 2014

Hi Christian,

I'm asking again your help on this point.
Finally the response on bug


says that we must not run an install on a Qt compiled without a prefix (which is the default on windows).

So if we just configure and compile Qt with default settings (so don't install) we can not used the compiled version of Qt with QBS.

Perhaps there is something to do on that with qbs.



Le 28/11/2014 09:51, olivier musse a écrit :
> Hi Christian,
> After testing different cases  we found the bug.
> https://bugreports.qt-project.org/browse/QTBUG-42959
> The  install step clear the prl so that it is impossible to use Qbs with
> a compiled version of Qt.
> Regards
> Olivier
> Le 17/10/2014 14:42, Christian Kandeler a écrit :
>> On 10/17/2014 12:21 PM, olivier musse wrote:
>>> It's a big issue on our side since we have many different versions of Qt
>>> we have compiled and not having the .prl files well filed in.
>>> At this point, after our last QBS upgrade, we can no more compile and so
>>> distribute any new version of our products to our customers.
>>> So please, as a first step help, may you tell me which .prl files are
>>> analyzed by QBS and what is used inside so that I can generate them
>>> properly.
>> There is no fixed list. qbs looks at all the .pri files in <qtbase build
>> dir>/mkspecs/modules/ and gathers information about modules from there.
>> Basically, for every qt_lib_*.pri file that does not have "no_link" in
>> its config there must be a corresponding library and prl file, and from
>> the prl file we gather additional information.
>> I must stress again that there is something seriously wrong with your Qt
>> build if the prl files are empty (I have never seen such a thing), and
>> other things beside qbs will also not work properly then. You should
>> file a bug report for Qt and have this investigated.
>> Christian
>> _______________________________________________
>> QBS mailing list
>> QBS at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qbs
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs

More information about the Qbs mailing list