blob: 38fa72d7266c7cd0946ef4da928686abeeeeb8d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <QtWidgets/QApplication>
#include <QtWidgets/QLabel>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QLabel label(QObject::tr("Hello, world!"));
#if defined(Q_WS_S60)
label.showMaximized();
#else
label.show();
#endif
return a.exec();
}
|