[Qt-interest] Qt 4.7.4 build on Solaris 10 (amd64)

Konstantin Tokarev annulen at yandex.ru
Thu Sep 15 16:11:15 CEST 2011



15.09.2011, 18:00, "Xavier Roche" <roche+qt at exalead.com>:
> Hi folks,
>
> Just small hints on how to build Qt 4.7.4 on a Solaris 10 (AMD64) with
> GCC (GCC 3 or 4).
>
> GCC tested:
>     * GCC 3.4.3
>     * GCC 4.3.4
>
> A small patch is necessary for the build to be successful, and some
> tweaking in a Makefile is also needed (gc-sections causing issues)
>
> Using -D USE_SYSTEM_MALLOC=1 is still necessary, apparently.

1. All of these fixes relate to QtWebKit only.
2. You shouldn't patch Makefiles but pro/pri files, in first case you need 
WebCore.pro. Proper patch could be accepted in WebKit upstream.
3. If you are getting rid of gc-sections, you should also remove 
-ffunction-sections and -fdata-sections which are useless without it and
only bloat object files.



-- 
Regards,
Konstantin



More information about the Qt-interest-old mailing list