mirror of https://github.com/qt/qtdoc.git
Document how to create an .ico file from a set of images using ImageMagick
I had to do this recently, and trying to use Visual Studio to create an .ico file using my existing images was a nightmare. The various online converters didn't do what I expected, either. Change-Id: I3f001a006156545205a9cb9869321e9fb521d936 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
22572163e4
commit
8a1e70b463
|
@ -52,6 +52,14 @@
|
|||
to load your application into Visual C++; here we are only using
|
||||
the icon editor.)
|
||||
|
||||
Alternatively, an \c .ico file can be created from a set of images using
|
||||
ImageMagick's \l {https://imagemagick.org/script/convert.php}{convert}
|
||||
tool:
|
||||
|
||||
\badcode
|
||||
magick.exe convert icon-16.png icon-32.png icon-256.png icon.ico
|
||||
\endcode
|
||||
|
||||
Store the ICO file in your application's source code directory,
|
||||
for example, with the name \c myappico.ico.
|
||||
|
||||
|
|
Loading…
Reference in New Issue