QWidget paintEvent slow when rendering
-
Yeah your first paint for mainwindow seems much slower.
But i dont get it if none of the other samples do anything like that as they are have same structure etc.
Can you try my test project?
https://www.dropbox.com/s/nl0issoplwylkb7/slowtext.zip?dl=0Just to verify that it runs slower at your pc. Then it must be local somehow.,
-
Yeah your first paint for mainwindow seems much slower.
But i dont get it if none of the other samples do anything like that as they are have same structure etc.
Can you try my test project?
https://www.dropbox.com/s/nl0issoplwylkb7/slowtext.zip?dl=0Just to verify that it runs slower at your pc. Then it must be local somehow.,
-
@mrjj It seems to be a local problem, I don't know if this will be happening if I compile here and distribute the generated binary. What should I do?
@Dohisev
First i would update video drivers. just to be on the safe side.
Im pretty sure it wont happen when you distribute your app but
it would be nice to know what it comes from.If you remove the drawText , the speed is normal ?
-
@Dohisev
First i would update video drivers. just to be on the safe side.
Im pretty sure it wont happen when you distribute your app but
it would be nice to know what it comes from.If you remove the drawText , the speed is normal ?
-
@mrjj I did remove all the fonts I installed but it's still the same, so I'm going to be updating the drivers and hope that everything is back to normal after that, if not, I think it might be something with my computer. It might be needing a clean up or something like that.
Thank you mrjj, you helped a lot, thank you for your patience. -
@mrjj I did remove all the fonts I installed but it's still the same, so I'm going to be updating the drivers and hope that everything is back to normal after that, if not, I think it might be something with my computer. It might be needing a clean up or something like that.
Thank you mrjj, you helped a lot, thank you for your patience. -
@Dohisev
You are most welcome.
It is a bit of odd case and updating gfx drivers is a good idea.
Its clearly related to drawText but i think its something deeper that Qt. -
@mrjj I'm here to say that I made a HUGE clean up on my computer and it's not lagging anymore when rendering.