diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-07-24 15:19:07 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-07-24 22:36:10 +0000 |
commit | 7a01e1b682a74a937a61c4879ca195c097249594 (patch) | |
tree | eece52934d2a6b47f9e0c26d7af0a67efcd5a653 | |
parent | 116def3cb82fa84cd9ab283773eaaa7a9d26dc6f (diff) |
Fix syntax errors
Somehow a newline snuck into the wrong place, and ???? is recognized as
a trigraph, which produces a warning.
Change-Id: If948c544cba7ca880db4077bc3192332ce87ea52
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
-rw-r--r-- | tools/binarycreator/binarycreator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp index f94dbe324..1d57b0d55 100644 --- a/tools/binarycreator/binarycreator.cpp +++ b/tools/binarycreator/binarycreator.cpp @@ -154,8 +154,8 @@ static int assemble(Input input, const QInstaller::Settings &settings, const QSt infoPList.open(QIODevice::WriteOnly); QTextStream plistStream(&infoPList); plistStream << QLatin1String("<?xml version=\"1.0\" encoding=\"UTF-8\"?>") << endl; - plistStream << QLatin1String("<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd -\">") << endl; + plistStream << QLatin1String("<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" " + "\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">") << endl; plistStream << QLatin1String("<plist version=\"1.0\">") << endl; plistStream << QLatin1String("<dict>") << endl; plistStream << QLatin1String("\t<key>CFBundleIconFile</key>") << endl; @@ -171,7 +171,7 @@ static int assemble(Input input, const QInstaller::Settings &settings, const QSt #undef QUOTE #undef QUOTE_ plistStream << QLatin1String("\t<key>CFBundleSignature</key>") << endl; - plistStream << QLatin1String("\t<string>????</string>") << endl; + plistStream << QLatin1String("\t<string>\?\?\?\?</string>") << endl; plistStream << QLatin1String("\t<key>CFBundleExecutable</key>") << endl; plistStream << QLatin1String("\t<string>") << fi.completeBaseName() << QLatin1String("</string>") << endl; |