Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to display Flash-based webpages in a QT Application?
- webpage = new QWebPage(this->window);
- webpage->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
- webpage->settings()->setAttribute(QWebSettings::JavascriptEnabled, true);
- webview->setGeometry(QRect(0,0,480,800));
- webview->move(QPoint(0,0));
- webview->load(QUrl(flash->file));
- webview->show();
Add Comment
Please, Sign In to add comment