Hi All,
I have a very big stylesheet file and if i try to load the stylesheet in the main thread, it increases the application launch time by about 10-12 seconds which obviously is unacceptable. So, i tried to call setStyleSheet() from a different thread but that gives a run time error "cannot send events to objects created in a different thread" which is understandable..i cant even even call moveToThread() on qApp..so is there ANY alternate way of being able to set stylesheet of application from a different thread?


Reply With Quote

well, anyways, the management has woken up and wants us to find "better" solutions .. we've already suggested breaking down one stylesheet to a number of stylesheets per plugin..that will save a lot of time



Bookmarks