hello
I need help with loading pages that have flash applications in them, my program works for just html pages, would anyone with qt knowledge plz help.
TIA.
here is my code:
#include <QApplication>
#include <QWebView>
#include <QUrl>
#include <QWebSettings>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
//QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
//QWebView *webView;
//webView->settings()->setAttribute(QWebSettings::PluginsEnabled,true);
QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptEnabled,true);
QWebView *view = new QWebView();
view->setStyleSheet("background-color:rgb(150,147,88); padding: 7px ; color:rgb(255,255,255)");
view->load(QUrl("file:///home/mary/eLearning/flash/Problem%20loading%20page.xhtml"));
view->show();
return a.exec();
}