diff -r 2f34d5167611 -r fcece45ef507 src/corelib/io/qresource.cpp --- a/src/corelib/io/qresource.cpp Fri Apr 16 15:50:13 2010 +0300 +++ b/src/corelib/io/qresource.cpp Mon May 03 13:17:34 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.