24 lines
339 B
C++
Raw Normal View History

2013-03-16 19:13:01 +02:00
#include <QApplication>
#include <QString>
2020-02-01 23:06:01 +01:00
#include <QWidget>
2013-03-16 19:13:01 +02:00
#ifndef QT_CORE_LIB
2018-08-09 18:06:22 +02:00
# error Expected QT_CORE_LIB
2013-03-16 19:13:01 +02:00
#endif
#ifndef QT_GUI_LIB
2018-08-09 18:06:22 +02:00
# error Expected QT_GUI_LIB
2013-03-16 19:13:01 +02:00
#endif
2016-07-09 11:21:54 +02:00
int main(int argc, char** argv)
2013-03-16 19:13:01 +02:00
{
QApplication app(argc, argv);
QWidget w;
w.setWindowTitle(QString::fromLatin1("SomeTitle"));
w.show();
return 0;
}