the "Qt way"?
Loading of stylesheets and external images at run-time is supported by QT... so I'm not sure I understand where you are coming from using this term.
My goal was to allow my end-users to create/modify their own themes for the application.
Anyways - as I mentioned above my themeing system now works fine with my pre-processor. This even allowed me to add support for some CSS3 features unsupported by QT such as @variables....
actually, no spaces existed in the original stylesheet - if there were spaces between "url" and the first parenthesis it would have given a parsing error.
The CSS sample code I posted above was just me paraphrasing the original code.
This wasn't the bug I was seeing with derived classes & relative paths.






Reply With Quote

Bookmarks