diff options
author | David Boddie <david.boddie@nokia.com> | 2010-09-08 11:50:28 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2010-09-08 11:50:28 (GMT) |
commit | 12ce7c10968cc8c3e27e70f7f228a9f60390d488 (patch) | |
tree | 1cbd54587988c257c24d6d76092a322e14e7ba3b /src/tools/uic/cpp/cppwriteincludes.cpp | |
parent | ff91468e5672e850c5587e51568c22f5ef13d30a (diff) | |
parent | a91a9d014adaeaa58640641579e30b5ff2383e99 (diff) | |
download | Qt-12ce7c10968cc8c3e27e70f7f228a9f60390d488.zip Qt-12ce7c10968cc8c3e27e70f7f228a9f60390d488.tar.gz Qt-12ce7c10968cc8c3e27e70f7f228a9f60390d488.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'src/tools/uic/cpp/cppwriteincludes.cpp')
-rw-r--r-- | src/tools/uic/cpp/cppwriteincludes.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/tools/uic/cpp/cppwriteincludes.cpp b/src/tools/uic/cpp/cppwriteincludes.cpp index 4e0ee4a..7b9d03a 100644 --- a/src/tools/uic/cpp/cppwriteincludes.cpp +++ b/src/tools/uic/cpp/cppwriteincludes.cpp @@ -126,8 +126,9 @@ void WriteIncludes::acceptUI(DomUI *node) if (m_uic->hasExternalPixmap() && m_uic->pixmapFunction() == QLatin1String("qPixmapFromMimeSource")) { #ifdef QT_NO_QT3_SUPPORT - qWarning("Warning: The form file has external pixmaps or qPixmapFromMimeSource() set as a pixmap function. " - "This requires Qt 3 support, which is disabled. The resulting code will not compile."); + qWarning("%s: Warning: The form file has external pixmaps or qPixmapFromMimeSource() set as a pixmap function. " + "This requires Qt 3 support, which is disabled. The resulting code will not compile.", + qPrintable(m_uic->option().messagePrefix())); #endif add(QLatin1String("Q3MimeSourceFactory")); } @@ -212,8 +213,9 @@ void WriteIncludes::insertIncludeForClass(const QString &className, QString head header = lowerClassName; header += QLatin1String(".h"); if (warnHeaderGeneration) { - qWarning("Warning: generated header '%s' for class '%s'.", qPrintable(header), - qPrintable(className)); + qWarning("%s: Warning: generated header '%s' for class '%s'.", + qPrintable(m_uic->option().messagePrefix()), + qPrintable(header), qPrintable(className)); } |