Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Using Qt stylesheet and performance issue
vhptt89 last edited by
I have an GUI form application, develop on open suse and using QSS.
I put all stylesheet code into only one .qss file called: main.qss and load it into qApp.
Problem is: perfomance really bad.
If I don't use stylesheet, everything goes fine but after I setStyleSheet, application run very slow (Widget appearance slowly).
How can I fix this ?
messi last edited by
I realized a project under OpenSuse and Qt4 Embedded with different stylesheets.
I used the stylesheets technik a lot and never encountered any problems.
You have to give us more information to analyze your problem.
I can only guess that you have problems in the implementation of your stylesheet itself.
What you can do if don't like to provide the stylesheet:
Start to disable sections of your stylesheet to find out where the problem lies.
Jeroentjehome last edited by
Or might it be the GUI itself? Updating the GUI is a time consuming operation, so only do this when data is changed. Use the signal/slot stuff for that.
Without any code supplied we are unable to help you.