[Qt-interest] [Ann] Qt Creator and Qt 4.5 Betas Released Today

Paul Floyd paulf at free.fr
Tue Dec 23 23:08:43 CET 2008


Thiago Macieira wrote:
> Paul Floyd wrote:
> 
>>IMO the KDE and other 3rd party bits that were added to Qt 4.4 are
>>poorly supported on anything other than Linux/GCC, Windows/VS and Mac
>>OS X/GCC. (Not that Boost is lacking in the same sort of GCCcentricity
>>defects).
> 
> 
> If you have a recent / decent enough compiler, WebKit and XmlPatterns 

Recent, yes, but not too ISO C++ conformant. To get a feel, assuming 
that you use GCC, try adding -ansi -pedantic -Wno-long-long and see how 
far a build gets. I just had a go (on Mac OS X with GCC 4.2, Qt 4.4.3), 
and, not counting warnings, there are several spurious semicolons, // 
comments in C code, and

kernel/qkeymapper_mac.cpp:836: error: ISO C++ forbids variable-size 
array 'buffer'

Most of these are quite trivial to fix, but they are a bit annoying.

> build fine. For example, using aCC series 6 on HP-UX. We also have patches 
> pending inclusion for xlC 7 and 9 (AIX), which we will include as soon as 
> we can. Sun Studio 12 should work too, but not out of the box for the 
> moment. (Requires a few hacks and the use of a different STL)

Just for info, almost all of the problems that I encountered with Sun 
Studio were non-conformant code in Qt or 3rd party stuff, similar to the 
above one. The issues in Qt are all fixed as of 4.4.3 as far as I'm 
aware, but there are still problems with 3rd party libs (for instance, 
use of C99 features in gstreamer headers).

> Phonon is supported everywhere, since it doesn't make much advanced use of 
> C++.
> 
> The Sun Studio issue is a good example of why STL isn't enough, even in 
> 2008.

I quite agree. See my first paragraph.

A+
Paul
-- 
Paul Floyd                 http://paulf.free.fr




More information about the Qt-interest-old mailing list