blob: fc7f580bdf477c65849b3457ee01ffb3e9ec6218 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include <QApplication>
#include <QString>
#include <QWidget>
#ifndef QT_CORE_LIB
# error Expected QT_CORE_LIB
#endif
#ifndef QT_GUI_LIB
# error Expected QT_GUI_LIB
#endif
int main(int argc, char** argv)
{
QApplication app(argc, argv);
QWidget w;
w.setWindowTitle(QString::fromLatin1("SomeTitle"));
w.show();
return 0;
}
|