diff options
authorArttu Tarkiainen <>2020-12-09 10:01:02 +0200
committerArttu Tarkiainen <>2020-12-10 09:21:24 +0200
commitc8f03f22b8a29e1b176fa1cd4f494df2bbd3b1b0 (patch)
parent457a4a6c203c030b48ad9d9ef34d5b17d5158526 (diff)
Remove references to <Icon> element
The element is marked as deprecated and does not work correctly anymore so mentions should be removed from documentation and code accordingly. Replaced with <InstallerApplicationIcon> and <InstallerWindowIcon>. Task-number: QTIFW-2076 Change-Id: I33c60321e468852b6ae20b44ed72a3e7a2119b75 Reviewed-by: Katja Marttila <>
2 files changed, 2 insertions, 8 deletions
diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc
index 197b3ea43..8587027ea 100644
--- a/doc/installerfw.qdoc
+++ b/doc/installerfw.qdoc
@@ -377,15 +377,9 @@
\li URL to a page that contains product information on your web
- \li Icon
- \li Filename for a custom installer icon. The actual file is looked up by attaching
- a '.icns' (macOS), '.ico' (Windows) or '.png' (Unix) suffix. Deprecated,
- use \c <InstallerApplicationIcon> or \c <InstallerWindowIcon>
- instead.
- \row
\li InstallerApplicationIcon
\li Filename for a custom installer icon. The actual file is looked up by attaching
- a '.icns' (macOS), '.ico' (Windows). No functionality on Unix.
+ a '.icns' (macOS), '.ico' (Windows) suffix. No functionality on Unix.
\li InstallerWindowIcon
\li Filename for a custom window icon in PNG format for the Installer application.
diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp
index f6662615e..488a70e68 100644
--- a/tools/binarycreator/binarycreator.cpp
+++ b/tools/binarycreator/binarycreator.cpp
@@ -732,7 +732,7 @@ void copyConfigData(const QString &configFile, const QString &targetDir)
QString targetFile;
QFileInfo elementFileInfo;
- if (tagName == QLatin1String("Icon") || tagName == QLatin1String("InstallerApplicationIcon")) {
+ if (tagName == QLatin1String("InstallerApplicationIcon")) {
#if defined(Q_OS_MACOS)
const QString suffix = QLatin1String(".icns");
#elif defined(Q_OS_WIN)