Results 1 to 11 of 11

Thread: Assistant won't display short htmls. Why? Is that a bug?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2012
    Posts
    43
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Assistant won't display short htmls. Why? Is that a bug?

    Still anyone? Besides of this strange behavior, I found very hard to make assistant do what I want to do.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Assistant won't display short htmls. Why? Is that a bug?

    Are you using the webkit backend for assistant or the text browser backend?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Apr 2012
    Posts
    43
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Assistant won't display short htmls. Why? Is that a bug?

    Neither one? Im using set of html pages on hard-drive loaded via <files></files> element in help.qhp file. Doing nothing programatically with anything so far, just calling assistant from terminal

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Assistant won't display short htmls. Why? Is that a bug?

    Quote Originally Posted by Raadush View Post
    Neither one?
    You have to be using one of the two My question is about how your assistantclient library was compiled. See if it depends on webkit or not.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Apr 2012
    Posts
    43
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Assistant won't display short htmls. Why? Is that a bug?

    Yes, depends on libQtWebKit

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Assistant won't display short htmls. Why? Is that a bug?

    Does it work if you display the same content on QWebView?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Apr 2012
    Posts
    43
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default Re: Assistant won't display short htmls. Why? Is that a bug?

    Created:
    Qt Code:
    1. QWebView view;
    2. QFile file("test.htm");
    3. file.open(QIODevice::ReadOnly | QIODevice::Text);
    4. QString string = file.readAll();
    5. file.close();
    6. view.setHtml(string);
    7. view.show();
    To copy to clipboard, switch view to plain text mode 

    with test.htm looking:

    Qt Code:
    1. <html>
    2. <body>
    3. <h1>Test</h1>
    4. T
    5. </body>
    6. </html>
    To copy to clipboard, switch view to plain text mode 

    Everything looks fine, QWebView displayed page correctly

Similar Threads

  1. Cant make assistant display page using -showUrl
    By philp in forum Qt Programming
    Replies: 0
    Last Post: 29th June 2012, 16:54
  2. Qt Assistant Deployment doesn't display gif/jpg images
    By waterstw in forum Installation and Deployment
    Replies: 0
    Last Post: 25th October 2011, 15:55
  3. Qt 4.6.2 Assistant fails to display
    By bcastalia in forum Installation and Deployment
    Replies: 1
    Last Post: 5th May 2010, 05:14
  4. Replies: 0
    Last Post: 9th April 2009, 06:35
  5. Using Short cut keys
    By joseph in forum Qt Programming
    Replies: 14
    Last Post: 18th March 2008, 19:34

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
  •  
Qt is a trademark of The Qt Company.