summaryrefslogtreecommitdiffstats
path: root/src/tools/uic
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-06 14:34:41 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-06 15:09:20 (GMT)
commit8bd1ac790c9b336d64e407a94b1ae6a4e195fc30 (patch)
tree44311306d194aa5b7a1741d1639a8f21c0fcfc1e /src/tools/uic
parent02db4405cd34b4366b4ba7ddb10b54dfb60957f5 (diff)
downloadQt-8bd1ac790c9b336d64e407a94b1ae6a4e195fc30.zip
Qt-8bd1ac790c9b336d64e407a94b1ae6a4e195fc30.tar.gz
Qt-8bd1ac790c9b336d64e407a94b1ae6a4e195fc30.tar.bz2
Fix warnings on mingw
mingw doesn't support format with %llu or %ll. So I used a QString
Diffstat (limited to 'src/tools/uic')
-rw-r--r--src/tools/uic/uic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/uic/uic.cpp b/src/tools/uic/uic.cpp
index bbb3af7..f789980 100644
--- a/src/tools/uic/uic.cpp
+++ b/src/tools/uic/uic.cpp
@@ -184,9 +184,9 @@ DomUI *Uic::parseUiFile(QXmlStreamReader &reader)
if (reader.hasError()) {
delete ui;
ui = 0;
- fprintf(stderr, "uic: Error in line %llu, column %llu : %s\n",
- reader.lineNumber(), reader.columnNumber(),
- reader.errorString().toAscii().constData());
+ fprintf(stderr, qPrintable(QString::fromLatin1("uic: Error in line %1, column %2 : %3\n")
+ .arg(reader.lineNumber()).arg(reader.columnNumber())
+ .arg(reader.errorString())));
}
return ui;