DevHeads.net

QByteArray and operator+ related compilation problems when using Qt master

Hi. I asked about this in #kde-devel@freenode and I was told to post
here, so here it goes.

So, lately I've decided to compile latest KDE master linked against
latest Qt master. When I do so, I get errors like the ones described
in this review[1]. I've had similiar problems not only in kdepimlibs,
but also in runtime, workspace, baseapps and kdevelop (IIRC).

The fixes for those ones are as straightforward as [1] and already
done, but I'd like to know whether I should commit them - after
review, of course - or not, since it may be a Qt bug.

[1]https://git.reviewboard.kde.org/r/102433/

Cheers.

Comments

Re: QByteArray and operator+ related compilation problems when u

By Thiago Macieira at 09/01/2011 - 05:20

On Thursday, 1 de September de 2011 01:48:01 Luiz Romário Santana Rios wrote:
I hope by "master" you mean "4.8", not "master".

The Qt master branch is stale. It's what was left after 4.8 was branched off.
Since there will be no 4.9, this branch is not getting any updates.

I compiled all of KDE with Qt 4.8 less than a week ago.

Re: QByteArray and operator+ related compilation problems when u

By =?ISO-8859-1?Q?... at 09/01/2011 - 10:02

2011/9/1 Thiago Macieira < ... at kde dot org>:
I mean "master".

Oh.

Well, thank you both for the info.

Re: QByteArray and operator+ related compilation problems when u

By Olivier Goffart at 09/01/2011 - 04:21

On Thursday 01 September 2011 01:48:01 Luiz Romário Santana Rios wrote:

Do not use Qt "master" branch, use the "4.8" branch.
(the master branch is dead and vary out of date)
(yes, i know it is confusing)

in 4.8, source compatibility is kept and there is a new macro do define to
enable the optimisation.

But the patch is probably still good.