Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 51 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. How to display Flash-based webpages in a QT Application?
  2. webpage = new QWebPage(this->window);
  3.  
  4. webpage->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
  5. webpage->settings()->setAttribute(QWebSettings::JavascriptEnabled, true);
  6.  
  7. webview->setGeometry(QRect(0,0,480,800));
  8.  
  9. webview->move(QPoint(0,0));
  10.  
  11. webview->load(QUrl(flash->file));
  12.  
  13. webview->show();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top