Please do not use these compilers with Qt-3.3.*. Qt will compile, but an optimizer bug will cause the resulting binaries to hang.
Be sure to check our Forte Developer / Sun Studio notes.
Be sure to check the installation notes for GCC on Solaris. Do not use GCC with Sun's assembler/linker, this will result in link-time errors in shared libraries. Use GNU binutils instead.
gives compilation error ANSI C++ forbids declaration ... with no type on systems with old X11 header files. This is fixed by patches 108652-24 on Solaris 8, 108376-21 on Solaris 7, and 105633-56 on Solaris 2.6.
Alternatively, on Qt 2 you may change files configs/solaris-g++-* from
SYSCONF_CXXFLAGS_X11 = -I/usr/openwin/includeto
SYSCONF_CXXFLAGS_X11 = -isystem /usr/openwin/includebefore issuing a new configure command.
GNU binutils 2.13 are broken on Solaris, use GNU binutils 2.13.1 or better.
A crash on resize of widgets example has been reported, but not reproduced. Patch 105633-21 is reported to solve the problem. We are interested in hearing more details from anyone who can reproduce and track this problem closer.
Copyright 2008, Trolltech ASA