equal
deleted
inserted
replaced
352 new QApplication(argc,argv); \ |
352 new QApplication(argc,argv); \ |
353 } \ |
353 } \ |
354 QString s = QApplication::tr("Executable '%1' requires Qt "\ |
354 QString s = QApplication::tr("Executable '%1' requires Qt "\ |
355 "%2, found Qt %3.").arg(qAppName()).arg(QString::fromLatin1(\ |
355 "%2, found Qt %3.").arg(qAppName()).arg(QString::fromLatin1(\ |
356 str)).arg(QString::fromLatin1(qVersion())); QMessageBox::critical(0, QApplication::tr(\ |
356 str)).arg(QString::fromLatin1(qVersion())); QMessageBox::critical(0, QApplication::tr(\ |
357 "Incompatible Qt Library Error"), s, QMessageBox::Abort, 0); qFatal(s.toLatin1().data()); }} |
357 "Incompatible Qt Library Error"), s, QMessageBox::Abort, 0); qFatal("%s", s.toLatin1().data()); }} |
358 |
358 |
359 #endif // QT_NO_MESSAGEBOX |
359 #endif // QT_NO_MESSAGEBOX |
360 |
360 |
361 QT_END_NAMESPACE |
361 QT_END_NAMESPACE |
362 |
362 |