Results 1 to 6 of 6

Thread: Thread-GUI

  1. #1
    Join Date
    Jul 2012
    Posts
    123
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Thread-GUI

    I'm beginner in threads with GUI i make simple browser and a i want loading pages in new Threads but i don' know how i can give WebView to thread or how it make else
    Thanks

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: Thread-GUI

    I believe that the one described here is the only practical solution to loadin pages in "background":
    http://stackoverflow.com/questions/3...und-in-qwebkit

  3. #3
    Join Date
    Jul 2012
    Posts
    123
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Thread-GUI

    I want loading in other thread. Do you know what is a thread and why i want use thread?
    Last edited by Viper666; 6th August 2012 at 15:36.

  4. #4
    Join Date
    Oct 2009
    Posts
    483
    Thanked 97 Times in 94 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Thread-GUI

    Quote Originally Posted by Viper666 View Post
    I want loading in other thread. Do you know what is a thread and why i want use thread?
    The material linked in mvuori's reply suggests that QtWebkit's API does not offer a way to isolate that part of HTML rendering not directly related to painting into a widget. Therefore all the rendering seemingly has to be done in the main thread (since, as you probably know, no widget manipulations are allowed outside the main thread).

  5. #5
    Join Date
    Jul 2012
    Posts
    123
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Thread-GUI

    So i can't loading... in my thread right? So the inevitable slowdown when the user open a lot of tabs or exist some other way?

  6. #6
    Join Date
    Jul 2012
    Posts
    123
    Thanks
    4
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Thread-GUI

    pls is some way how do it?

Similar Threads

  1. Replies: 1
    Last Post: 28th March 2012, 18:58
  2. Replies: 5
    Last Post: 22nd February 2011, 21:21
  3. Replies: 9
    Last Post: 28th November 2009, 20:31
  4. Replies: 16
    Last Post: 7th October 2009, 08:17

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.