1#include <QApplication>
2
3#include "MainWidget.h"
4#include "ViewController.h"
5
6//@@snippet_begin(hellointernet-main)
7int main(int argc, char *argv[])
8{
9 QApplication a(argc, argv);
10 MainWidget w;
11 ViewController v(&w);
12 w.show();
13 return a.exec();
14}
15//@@snippet_end
16

source code of threadweaver/examples/HelloInternet/main.cpp