Quote Originally Posted by aamer4yu View Post
Why dont you go the Qt way ,,, use resource files !!
If you have the files in your resource file, you wont have to worry about the path much. Have a look at Qt Resource System in assistant
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....

Quote Originally Posted by talk2amulya View Post
there is no bug, relative path also works. the issue is that you've put space between "url" and right parenthesis..remove that and everything would work like magic!
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.