Em Quarta-feira 21. Outubro 2009, às 22.44.27, você escreveu:
> > The changes are being upstreamed to webkit, so they should land there
> > soon.  See also https://bugs.webkit.org/show_bug.cgi?id=24932.
> 
> Good. I've bookmarked the web page.
> 
> Some of the workarounds are not necessary if you change the compiler 
> flags. I use
> QMAKE_CFLAGS            = -errtags=yes -xc99 -D_XOPEN_SOURCE=600
>  -D__EXTENSIONS__ 
>  QMAKE_CXXFLAGS          = -library=stlport4 -errtags=yes
>  -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
> 
> For instance, for this one 
> https://bug-24932-attachments.webkit.org/attachment.cgi?id=33639
> will then go away.

Indeed. Some of the patches were created when I was still trying to get it to 
compile against RW STL (libCstd). They aren't necessary now that stlport4 is 
necessary.

> (I use C99 since Qt 4.4 or 4.5 needed it, haven't gone back to trying C90).
> 
> And while I'm at it ...
> 
> QMAKE_CFLAGS_WARN_ON    = -v
> QMAKE_CFLAGS_WARN_OFF   = -w
> QMAKE_CXXFLAGS_WARN_ON  = +w2 # but beware causes >10^5 warnings

I'll keep in mind.

> QMAKE_CFLAGS_RELEASE    = -O # -fast if you're daring
> 
> Currently qmake.conf uses -O2, which is less than the default -O 
> optimization which is the same as -O3

Oh.

That's good to know.

> Last thing that I modify is to use my own versions of fontconfig and 
> freetype. The /usr/sfw versions on Solaris result in a Qt with terrible 
> jagged and badly rendered fonts.

Interesting. Because I got the same with the standard libraries in Solaris. I 
thought it was an effect of the remote X I was using.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Development Frameworks
     Sandakerveien 116, NO-0402 Oslo, Norway

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to