Advertisement
metalx1000

Basic HTML Webkit Wrapper - Portal

May 24th, 2013
2,133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <QApplication>
  2. #include <QtWebKit/QWebView>
  3.  
  4. int main(int argc, char **argv)
  5. {
  6.     QApplication app(argc, argv);
  7.     QWebView *view = new QWebView();
  8.  
  9.     view->resize(600,800);
  10.     view->load(QUrl("http://filmsbykris.com/scripts/list"));
  11.     view->show();
  12.  
  13.     return app.exec();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement