[Interest] Qt5Webkit compile error

Allan Sandfeld Jensen kde at carewolf.com
Tue Jun 17 18:38:29 CEST 2014


On Tuesday 17 June 2014, Thiago Macieira wrote:
> Em ter 17 jun 2014, às 13:49:35, Allan Sandfeld Jensen escreveu:
> > Hi
> > 
> > On Friday 13 June 2014, shishir tiwari wrote:
> > > cc1plus: error: -Werror=unused-but-set-variable: No option
> > > -Wunused-but-set-variable
> > > cc1plus: error: -Werror=unused-but-set-variable: No option
> > > -Wunused-but-set-variable
> > 
> > It seems this flag is not available in gcc 4.4 at least. If you used a
> > newer gcc it should work, but we would should probably only set it when
> > supported.
> 
> I guess we're now confirming that Qt 5.3 requires GCC 4.5 or higher.

Not intentionally and the fix it trivial (I just did a new build with gcc 
4.4), the fix is https://codereview.qt-project.org/#/c/87646/. It does mean 
qtwebkit 5.3.0 and probably 5.3.1 does not build with gcc 4.4 out of the box.

Regards
`Allan



More information about the Interest mailing list