[QBS] Qt4/Phonon not correctly supported by qtprofilesetup
christian.kandeler at digia.com
Thu May 8 17:11:51 CEST 2014
> However we figured out a problem with Qt4 projects using the "phonon"
> submodule. The qtModuleName contained in the generated module.qbs file
> is obviously wrong ("onon"), and the library name results in "Qtonon4",
> which is also not correct.
> I had a look at the source code and found out that line 305 of
> qtprofilesetup.cpp seems to be responsible for the wrong module name,
> since the first two characters of the module name are always removed
> (which shortens "phonon" to "onon"). Fixing this along with additional
> code for adapting the library name would be a possible solution. However
> I think it would be better to use a specific phonon.qbs module. So I've
> created a patch which fixes the problem for me (see attachment). Maybe
> you can include this on the 1.2 branch?
thanks for the patch, but we can only accept submissions via gerrit. Can
you please push it there?
More information about the Qbs