diff -r dee5afe5301f -r 3f74d0d4af4c src/corelib/io/qresource.cpp --- a/src/corelib/io/qresource.cpp Mon Mar 15 12:43:09 2010 +0200 +++ b/src/corelib/io/qresource.cpp Thu Apr 08 14:19:33 2010 +0300 @@ -555,16 +555,15 @@ /*! \obsolete + Use QDir::addSearchPath() with a prefix instead. + Adds \a path to the search paths searched in to find resources that are not specified with an absolute path. The \a path must be an absolute path (start with \c{/}). The default search path is to search only in the root (\c{:/}). The last path added will be consulted first upon next QResource creation. - - Use QDir::addSearchPath() with a prefix instead. */ - void QResource::addSearchPath(const QString &path) { @@ -578,6 +577,10 @@ } /*! + \obsolete + + Use QDir::searchPaths() instead. + Returns the current search path list. This list is consulted when creating a relative resource.