QWebView don't display local html
General and Desktop
2
Posts
2
Posters
1.3k
Views
1
Watching
-
@mainWind::mainWind(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::mainWind)
{
ui->setupUi(this);
QWebView *pageWeb=new QWebView();
pageWeb->load(QUrl("html/pagevide.htm"));
ui->tabWidget->insertTab(ui->tabWidget->indexOf(ui->nouveauongle),pageWeb,"a");
ui->toolBar_2->insertWidget(ui->action_R_tablire,ui->champAdresse);
setCentralWidget(ui->tabWidget);
ui->statusbar->addPermanentWidget(ui->progressBar);
ui->statusbar->setVisible(false);
connect(ui->actionNouveaux_onglet,SIGNAL(triggered()),this,SLOT(ajouterOngle()));
connect(ui->tabWidget,SIGNAL(currentChanged(int)),this,SLOT(changeOngle(int)));}
@the problem is that qwebview don't display the html (there is a photo in the html)