#include <QtGui/qmessagebox.h>
#ifndef QMESSAGEBOX_H
#ifndef QT_NO_MESSAGEBOX
#define QT_REQUIRE_VERSION(argc,argv,str) { QString s = QString::fromLatin1(str);QString sq = qVersion(); if ((sq.section('.',0,0).toInt()<<16)+(sq.section('.',1,1).toInt()<<8)+sq.section('.',2,2).toInt()<(s.section('.',0,0).toInt()<<16)+(s.section('.',1,1).toInt()<<8)+s.section('.',2,2).toInt()){if (!qApp){ new QApplication(argc,argv);} QString s = QApplication::tr("Executable '%1' requires Qt " "%2, found Qt %3.").arg(qAppName()).arg(QString::fromLatin1(str)).arg(qVersion()); QMessageBox::critical(0, QApplication::tr("Incompatible Qt Library Error"), s, QMessageBox::Abort,0); qFatal(s.toLatin1().data()); }}

#endif // QT_NO_MESSAGEBOX
#endif // QMESSAGEBOX_H