QList is not a wrapper around std::list, QString is not a glorified std::string wrapper etc. Qt applications can be built with some support for conversion to/from STL types. However, if Qt is compiled with the "-no-stl" configure option then the Qt to STL functions will not be present. At compile time this is seen as a defined QT_NO_STL.
Even with STL support, the Qt containers are not 100% interchangeable with their STL counterparts: no reverse STL-style iterator on a QList for example. Just substituting QList for std::list may not work.
Bookmarks