File qt-everywhere-opensource-src-4.6.0-fix-str-fmt.patch of Package qt4

--- src/gui/dialogs/qmessagebox.h~	2009-11-27 02:27:52.000000000 +0100
+++ src/gui/dialogs/qmessagebox.h	2010-01-15 16:24:54.000000000 +0100
@@ -354,7 +354,7 @@
 QString s = QApplication::tr("Executable '%1' requires Qt "\
  "%2, found Qt %3.").arg(qAppName()).arg(QString::fromLatin1(\
 str)).arg(QString::fromLatin1(qVersion())); QMessageBox::critical(0, QApplication::tr(\
-"Incompatible Qt Library Error"), s, QMessageBox::Abort, 0); qFatal(s.toLatin1().data()); }}
+"Incompatible Qt Library Error"), s, QMessageBox::Abort, 0); qFatal("%s",s.toLatin1().data()); }}
 
 #endif // QT_NO_MESSAGEBOX
 
openSUSE Build Service is sponsored by