Details
Description
Not that I think that many people are interested in using qbs to build with static Qt4 version but it would be very nice if you could fix that. I noticed that qbs generates wrong library names for Qt4 static build in modules i.e. qtcored4.lib instead of qtcored.lib. I found the culprit to be the following lines:
if (!isStaticLibrary && qtEnvironment.qtMajorVersion < 5)
name += QString::number(qtEnvironment.qtMajorVersion);
In my case it's static build of Qt indeed but contrary to allQt5Modules function assignment to isStaticBuild seems to be totally missing from allQt4Modules except for some axContainer module.
However it seems like it's not easy to detect if Qt was built statically for Qt4 indeed, the one possible way I found is to check CONFIG += line in qconfig.pri which is in mkspesc dir
Attachments
For Gerrit Dashboard: QBS-804 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
112542,3 | fix setup-qt for static builds of Qt4 | 1.4 | qbs/qbs | Status: MERGED | +2 | 0 |