From 1e5a471645ea8c91b0a2dc0fe019f15fdc5f9127 Mon Sep 17 00:00:00 2001 From: Geir Vattekar Date: Wed, 23 Mar 2011 14:39:14 +0100 Subject: Doc: Small update to QImageReader/Writer::supportedImageFomrmats() Task-number: QTBUG-14440 --- src/gui/image/qimagereader.cpp | 3 +++ src/gui/image/qimagewriter.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/gui/image/qimagereader.cpp b/src/gui/image/qimagereader.cpp index 1fa1058..e7b1000 100644 --- a/src/gui/image/qimagereader.cpp +++ b/src/gui/image/qimagereader.cpp @@ -1482,6 +1482,9 @@ QByteArray QImageReader::imageFormat(QIODevice *device) configure script or check the appropriate option in the graphical installer. + Note that the QApplication instance must be created before this function is + called. + \sa setFormat(), QImageWriter::supportedImageFormats(), QImageIOPlugin */ QList QImageReader::supportedImageFormats() diff --git a/src/gui/image/qimagewriter.cpp b/src/gui/image/qimagewriter.cpp index 8a65ac0..504260a 100644 --- a/src/gui/image/qimagewriter.cpp +++ b/src/gui/image/qimagewriter.cpp @@ -679,6 +679,9 @@ bool QImageWriter::supportsOption(QImageIOHandler::ImageOption option) const Reading and writing SVG files is supported through Qt's \l{QtSvg Module}{SVG Module}. + Note that the QApplication instance must be created before this function is + called. + \sa setFormat(), QImageReader::supportedImageFormats(), QImageIOPlugin */ QList QImageWriter::supportedImageFormats() -- cgit v0.12