Pavel Heimlich wrote:

> when using the Sun Studio 12 U1 compiler and Qt 4.6.2, it's enough to just do
> ./configure -nomake examples -nomake demos
> make
> make install

I would have thought that this might be the case with Studio 12, but 
that configure, not being up to date with the current Studio release, 
doesn't disable anything for Studio 12U1.

> But this way, several extra features, like the webkit part, are disabled by 
> default (you need about 17 patches for webkit alone to build).
> Possibly the code disabling webkit only checks for studio - you can try 
> adding '-no-webkit' to the configure switches.

Here's the relevant bit of configure

     solaris-cc*)
         # Check the compiler version
         case `${QMAKE_CONF_COMPILER} -V 2>&1 | awk '{print $4}'` in
             5.[012345678])
                 canBuildWebKit="no"
                 canBuildQtXmlPatterns="no"
                 canBuildQtConcurrent="no"
                 ;;
             5.9)
                 canBuildWebKit="no"
                 canBuildQtConcurrent="no"
                 ;;
         esac
         ;;

So for CC 5.0 to 5.8 (I can't even remember what 5.0 was called SunPro 
maybe?) to Studio 11 it disables WebKit, XmlPatterns and Concurrent. For 
Studio 12 it disables WebKit and Concurrent.

As Pavel said, WebKit needs patches to build. And it also needs a C++ 
std lib other than the default (either Apache C++ std lib or StlPort 
will do). Concurrent just needs a standard std lib.

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


Reply via email to