Parent Directory | Revision Log
Sync
1 | torben | 501 | #include <QApplication> |
2 | torben | 509 | #include <QtWebKit> |
3 | #include "MainView.h" | ||
4 | torben | 501 | |
5 | torben | 502 | |
6 | |||
7 | torben | 501 | int main(int argc, char** argv) { |
8 | QApplication app(argc,argv); | ||
9 | |||
10 | |||
11 | QWebSettings* settings = QWebSettings::globalSettings(); | ||
12 | settings->setAttribute( QWebSettings::JavascriptEnabled, true); | ||
13 | settings->setAttribute( QWebSettings::PluginsEnabled, true); | ||
14 | |||
15 | torben | 509 | MainView main(0); |
16 | main.show(); | ||
17 | torben | 501 | |
18 | |||
19 | return app.exec(); | ||
20 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |