qwebview not display image
Hello, using qwevview.
If i load image from web (for example http://www.google.com) i can see image on site,
but if i load local site (file://...) i can not see image on my local site, i dont understand why. Execute this project on two OS (MAC and PC), mac project is work, PC not work.
The code:
Code:
QWebView *view;
view = new QWebView(this);
if (MAC)
{
view
->load
(QUrl("file://" + path.
left(i
) + "iWeb/Pages/index_MAC.html"));
}
else
{
view
->load
(QUrl(path.
left(i
).
replace(QRegExp("/"),
"\\\\") + "iWeb\\\\Pages\\\\index_PC.html"));
}
view->show();
Re: qwebview not display image