diff --git a/src/corelib/text/qvsnprintf.cpp b/src/corelib/text/qvsnprintf.cpp index 839fc242170..1a3dc2e1f95 100644 --- a/src/corelib/text/qvsnprintf.cpp +++ b/src/corelib/text/qvsnprintf.cpp @@ -15,6 +15,10 @@ QT_BEGIN_NAMESPACE /*! \relates QByteArray + \obsolete + + Use C++11's \c{std::vsnprintf()} from \c{} instead. + A portable \c vsnprintf() function. Will call \c ::vsnprintf(), \c ::_vsnprintf(), or \c ::vsnprintf_s depending on the system, or fall back to an internal version. @@ -67,6 +71,10 @@ int qvsnprintf(char *str, size_t n, const char *fmt, va_list ap) \target bytearray-qsnprintf \relates QByteArray + \obsolete + + Use C++11's \c{std::snprintf()} from \c{} instead. + A portable snprintf() function, calls qvsnprintf. \a fmt is the \c printf() format string. The result is put into