4d10065c54
Conflicts: examples/widgets/applicationicon/applicationicon.svg examples/widgets/applicationicon/main.cpp examples/widgets/elidedlabel/elidedlabel.cpp examples/widgets/elidedlabel/elidedlabel.h examples/widgets/elidedlabel/main.cpp examples/widgets/elidedlabel/testwidget.cpp examples/widgets/elidedlabel/testwidget.h (cherry picked from commit 1b555a91f05b68c697b6985d1b672dc0fba5fc5a) (cherry picked from commit c0e0bfdd451f42b10051e8064153b811080ffa0e)
15 lines
273 B
C++
15 lines
273 B
C++
#include <QtGui/QApplication>
|
|
#include <QtGui/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();
|
|
}
|