Results 1 to 2 of 2

Thread: Webview different Win & Linux

  1. #1
    Join Date
    May 2009
    Location
    Gorontalo
    Posts
    200
    Thanks
    20
    Thanked 5 Times in 5 Posts
    Qt products
    Platforms
    Unix/X11 Windows

    Question Webview different Win & Linux

    I tried this html string for show in QWebView. On Windows is fine, but I so confused why not work in Linux ?


    Qt Code:
    1. ui->webView->setHtml("<html><head><title></title></head><body><img src='/home/wirasto/logo.png'></body></html>");
    To copy to clipboard, switch view to plain text mode 

  2. #2

    Default Re: Webview different Win & Linux

    the path /home/ is a linux only path. In windows paths begin with a drive letter

Similar Threads

  1. Replies: 5
    Last Post: 15th January 2009, 09:03
  2. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  3. Deploying App on Linux
    By janus in forum Installation and Deployment
    Replies: 5
    Last Post: 6th May 2008, 21:18
  4. Replies: 19
    Last Post: 21st January 2008, 09:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.