summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2012-11-21 16:35:48 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2012-11-21 17:01:06 +0100
commitad57af73451c1db60a39d7f5f75a8d6530f138ff (patch)
tree978138115e7352a41d0b9a758a751b1bb2b982db
parent6b58b7f0d5ac3817691f626777dbf2c2f07fb801 (diff)
Compile with Qt5.
Change-Id: Ied9886d589d7b3c3928f29c8363eb66e1634819a Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
-rw-r--r--tools/binarycreator/binarycreator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp
index d148b50b6..8002f16be 100644
--- a/tools/binarycreator/binarycreator.cpp
+++ b/tools/binarycreator/binarycreator.cpp
@@ -198,7 +198,7 @@ Q_UNUSED(settings)
}
QtPatch::patchBinaryFile(tempFile, QByteArray("MY_InstallerCreateDateTime_MY"),
- QDateTime::currentDateTime().toString(QLatin1String("yyyy-MM-dd - HH:mm:ss")).toAscii());
+ QDateTime::currentDateTime().toString(QLatin1String("yyyy-MM-dd - HH:mm:ss")).toLatin1());
input.installerExePath = tempFile;
@@ -438,7 +438,7 @@ static void printUsage()
std::cout << "Packages are to be found in the current working directory and get listed as "
"their names" << std::endl << std::endl;
std::cout << "Example (offline installer):" << std::endl;
- char sep = QDir::separator().toAscii();
+ char sep = QDir::separator().toLatin1();
std::cout << " " << appName << " --offline-only -c installer-config" << sep << "config.xml -p "
"packages-directory -t installerbase" << suffix << " SDKInstaller" << suffix << std::endl;
std::cout << "Creates an offline installer for the SDK, containing all dependencies." << std::endl;