2012-12-31 12:41:09 +04:00
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
2012-12-31 03:55:38 +04:00
|
|
|
#ifndef QT_CORE_LIB
|
|
|
|
#error Expected QT_CORE_LIB
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef QT_GUI_LIB
|
|
|
|
#error Expected QT_GUI_LIB
|
|
|
|
#endif
|
|
|
|
|
2012-12-31 12:41:09 +04:00
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
|
|
|
|
QWidget w;
|
|
|
|
w.setWindowTitle(QString::fromLatin1("SomeTitle"));
|
|
|
|
w.show();
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|