summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-09 08:16:27 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-09 08:18:19 (GMT)
commit433430c4081c8992bc661d5481a2288eddf2037f (patch)
tree90d2628ca839ca466abaa941bfe13ce8b1be33b9 /doc
parent52e22e7b9313233dd248753b25f56cd912382981 (diff)
downloadQt-433430c4081c8992bc661d5481a2288eddf2037f.zip
Qt-433430c4081c8992bc661d5481a2288eddf2037f.tar.gz
Qt-433430c4081c8992bc661d5481a2288eddf2037f.tar.bz2
Doc: update the compiler notes about Sun CC's STL not being supported
The default STL (Rogue Wave STL) is far too old for Qt. It doesn't meet the ISO C++ 98 specification. Using a more recent (and standards-compliant) STL like stlport4 enables Qt to build even QtWebKit on Solaris. Also change the note indicating we're using Sun Studio 12, not 8.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/platforms/compiler-notes.qdoc14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/platforms/compiler-notes.qdoc b/doc/src/platforms/compiler-notes.qdoc
index 5b5240a..4577bf0 100644
--- a/doc/src/platforms/compiler-notes.qdoc
+++ b/doc/src/platforms/compiler-notes.qdoc
@@ -204,10 +204,22 @@
\section2 Sun Studio
- Qt is tested using Sun Studio 8 (Sun CC 5.5). Go to
+ Qt is tested using Sun Studio 12 (Sun CC 5.9). Go to
\l{Sun Studio Patches} page on Sun's Web site to download
the latest patches for your Sun compiler.
+ Please note that Qt 4.6 is stricter in its STL requirements and
+ that the default STL implementation used by Sun CC does not pass
+ those requirements. This does not affect binary compatibility and
+ you can continue to use STL in your own code, but Qt's
+ STL-compatibility functions will be disabled.
+
+ Sun CC ships with a secondary STL implementation (called stlport4)
+ which is standards-compliant and can be used by Qt. You can enable
+ it by passing the -library=stlport4 option to the compiler. Note
+ that this does not affect Qt's binary compatibility, but it may
+ affect that of other libraries and programs that use STL.
+
\section2 Sun WorkShop 5.0
Sun WorkShop 5.0 is not supported with Qt 4.