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

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

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