forked from qt-creator/qt-creator
* When creating a new project for some device: Set UI element size to the device resolution.
15 lines
250 B
C++
15 lines
250 B
C++
#include <%QAPP_INCLUDE%>
|
|
#include "%INCLUDE%"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
%CLASS% w;
|
|
#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5)
|
|
w.showMaximized();
|
|
#else
|
|
w.show();
|
|
#endif
|
|
return a.exec();
|
|
}
|