Doc: Explicitly advise adding svg, if any, before other files to QIcon
Adding in the wrong order yields a QIcon that does not provide the expected or desired behavior. Fixes: QTBUG-135652 Pick-to: 6.9 6.8 Change-Id: Ie1f6e50ee82ddaae8857b076c383ede20ab872df Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de> (cherry picked from commit 472306523a9706ccf363c349edecccaadacfe5b1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
e359fc7ec5
commit
fe7a4b7bf8
@ -609,6 +609,9 @@ QFactoryLoader *qt_iconEngineFactoryLoader()
|
||||
QImageWriter::supportedImageFormats() functions to retrieve a
|
||||
complete list of the supported file formats.
|
||||
|
||||
\note If using an SVG image file, make sure to add it before any non-SVG files,
|
||||
so that the correct \l{Icon Engines}{icon engine} gets selected.
|
||||
|
||||
\section1 Creating an icon from a theme or icon library
|
||||
|
||||
The most convenient way to construct an icon is by using the
|
||||
|
Loading…
x
Reference in New Issue
Block a user