PDA

View Full Version : Webview different Win & Linux



wirasto
8th December 2009, 05:13
I tried this html string for show in QWebView. On Windows is fine, but I so confused why not work in Linux ?




ui->webView->setHtml("<html><head><title></title></head><body><img src='/home/wirasto/logo.png'></body></html>");

TheNewGuy
17th December 2009, 05:14
the path /home/ is a linux only path. In windows paths begin with a drive letter