PDA

View Full Version : Any way to make to put two QWebViews in separate threads?



TheNewGuy
7th December 2009, 05:56
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).

spirit
7th December 2009, 07:26
you can't access to GUI from separate thread directly. you should use signal/slots mechanism of custom events.