summaryrefslogtreecommitdiffstats
path: root/tools/common
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@digia.com>2013-04-09 13:47:44 +0200
committerTim Jenssen <tim.jenssen@digia.com>2013-04-09 13:53:56 +0200
commitea504b9f848324e87bbf1484d9724e0b3afb0de2 (patch)
tree1601faaa2fc5170da0c49a086530e21f07920f38 /tools/common
parentba4ec89c5eb3b072b9de1bdc149bba409f8fd95b (diff)
adding the OS attribute to be compatible with old sdks
Change-Id: Ia9d9e3371008c77cfcdac04c6da40cd4b9a34fb6 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'tools/common')
-rw-r--r--tools/common/repositorygen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/common/repositorygen.cpp b/tools/common/repositorygen.cpp
index dcf6b6133..1549fb896 100644
--- a/tools/common/repositorygen.cpp
+++ b/tools/common/repositorygen.cpp
@@ -253,6 +253,8 @@ void QInstallerTools::generateMetaDataDirectory(const QString &outDir, const QSt
QDomElement fileElement = doc.createElement(QLatin1String("UpdateFile"));
fileElement.setAttribute(QLatin1String("UncompressedSize"), componentSize);
fileElement.setAttribute(QLatin1String("CompressedSize"), compressedComponentSize);
+ // adding the OS attribute to be compatible with old sdks
+ fileElement.setAttribute(QLatin1String("OS"), QLatin1String("Any"));
update.appendChild(fileElement);
root.appendChild(update);