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