summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-10-08 10:32:30 +0200
committerMitch Curtis <mitch.curtis@qt.io>2018-10-09 08:31:30 +0000
commit8a1e70b463a48ca40e32a6b4f65fc75ec0bb460c (patch)
tree12f78df6310ba9bdc420b87b6220ad11b30bd5f6
parent22572163e4133a5a2ab6a06bb71e8f8a61f3f7ca (diff)
downloadqtdoc-8a1e70b463a48ca40e32a6b4f65fc75ec0bb460c.tar.gz
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>
-rw-r--r--doc/src/howtos/appicon.qdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/howtos/appicon.qdoc b/doc/src/howtos/appicon.qdoc
index 11529353..fcd2487a 100644
--- a/doc/src/howtos/appicon.qdoc
+++ b/doc/src/howtos/appicon.qdoc
@@ -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.