Files
qt-creator/share/qtcreator/templates/qt4project/main.cpp

15 lines
250 B
C++
Raw Normal View History

2008-12-02 12:01:29 +01:00
#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
2008-12-02 12:01:29 +01:00
w.show();
#endif
2008-12-02 12:01:29 +01:00
return a.exec();
}