summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qt4makeapp/main.cpp
blob: 3416347e7c7cb43f2b77368c32e7773f4e24d716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%{CPP_TEMPLATE}

#include <QApplication>
#include "%{APPNAMELC}.h"

int main(int argc, char *argv[])
{
      Q_INIT_RESOURCE(application);
      QApplication app(argc, argv);
      %{APPNAME} * mw = new %{APPNAME}();
      mw->show();
      return app.exec();
}