bool QImage::load(const QString &fileName, const char *format = nullptr)
Loads an image from the file with the given fileName. Returns true if the image was successfully loaded; otherwise invalidates the image and returns false.
The loader attempts to read the image using the specified format, e.g., PNG or JPG. If format is not specified (which is the default), it is auto-detected based on the file's suffix and header. For details, see {QImageReader::setAutoDetectImageFormat()}{QImageReader}.
```
However that "{QImageReader::setAutoDetectImageFormat()}{QImageReader}." but should not read as such. I'm not sure what it should be exactly, but "QImageReader::setAutoDetectImageFormat()" (no {}, no extra {QImageReader} ) would be my guess.
This is not specific to QImage, it's affecting many classes
From: "Sze Howe Koh" <[email protected]>
To: "Qt development mailing list" <[email protected]>
Subject: [Development] Missing documentation in Qt 5.12
_______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
