Results 1 to 2 of 2

Thread: Any way to make to put two QWebViews in separate threads?

  1. #1

    Question Any way to make to put two QWebViews in separate threads?

    I have two QWebViews that process a lot of information (the javascript that is in them does). Is there any way for the QWebViews to be in separate threads in the main window? That way each QWebView instance can get up to 25% of my CPU power (I have a 4 core computer).

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Any way to make to put two QWebViews in separate threads?

    you can't access to GUI from separate thread directly. you should use signal/slots mechanism of custom events.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

Similar Threads

  1. Calling same method from separate threads
    By steg90 in forum Qt Programming
    Replies: 2
    Last Post: 19th July 2007, 08:55
  2. Window OS make distclean && qmake && make one line
    By patrik08 in forum General Programming
    Replies: 4
    Last Post: 22nd March 2007, 10:43
  3. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57

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.