Have you tried to compile in release mode? For me, a number of things are very slow in debug mode, but are perfectly usable in release mode.
Have you tried to compile in release mode? For me, a number of things are very slow in debug mode, but are perfectly usable in release mode.
Good point. I'll try and run the release version. For Qt3 I have been using release code, so that could definitely make a difference. I'll report back as soon as I get a chance to test it.
T
Tested in release mode and it is way faster! So that is definitely part of it. However, I tried the same debug version on two other (inferior machines) and the response is immediate, no sluggishness whatsoever! Go figure.
All systems are 64-bit Windows 7.
Now the slow system is actually the fastest with a Core 2 Duo T9550 @ 2.67 GHz, 4GB RAM NVIDIA Quadro NVS 160M. Windows Experience: 4.4
My little netbook is way faster, no delay whatsoever:
U2300 @ 1.2 GHz, 4GB RAM, built in Intel Graphics, Windows Experience: 3.2
Desktop:
AMD Athlon 64 X2 Dual Core 5200+ @ 2.6GHz, 6GB RAM, ATI Radeon X1300 Series (Windows driver - WDDM), Windows Experience: 4.1
So I figure it can't be the hardware by itself. Maybe the graphics adapter. Although the Nvidia is one of the fastested among these machines.
The strange thing is that Qt3 runs perfectly fine even on the slow machine. The good news is that there are some systems where it performs fine. It would be good to figure out what the underlying problem is. Looks like it is running slowest on the fastest hardware...
Cheers,
Thomas
My experience with Qt4 is that it's very fast on Windows. A simple dialog like this should not lag.
I can see one reason why it could be lagging and that is if there's not enough processing power to handle the paint events.
But to be sure you should try to create a minimal working example, or post your code, like already asked above.
Maybe you did something wrong with the tree widget for example.
Then it is environmental. Ship your slow machine to me and I'll have a look
You'll have to work out what else is running on the "slow" machine? Antivirus scanning in the background, Windows updating a search index, zombie process(es) sitting on 100% CPU. Are all the machines running identical versions of the Qt run time libs? What about Windows patches? Switch the slow machine to the generic SVGA driver...
Last edited by ChrisW67; 18th June 2010 at 02:46.
Bookmarks