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:
Qt Code:
  1. QWebView *view;
  2. view = new QWebView(this);
  3. if (MAC)
  4. {
  5. view->load(QUrl("file://" + path.left(i) + "iWeb/Pages/index_MAC.html"));
  6. }
  7. else
  8. {
  9. view->load(QUrl(path.left(i).replace(QRegExp("/"),"\\\\") + "iWeb\\\\Pages\\\\index_PC.html"));
  10. }
  11.  
  12. view->show();
To copy to clipboard, switch view to plain text mode