[Qt-interest] Relative paths in style sheets (-stylesheet vs. qApp->setStyleSheet())

R. Reucher rene.reucher at batcom-it.net
Fri Jun 12 22:03:18 CEST 2009


On Fri June 12 2009 21:59:26 R. Reucher wrote:
> But when loading the file's content and setting up the style sheet using
>
> qApp->setStyleSheet(content);
>
> it will only work if the current working directory is the same as the
> directory of the style sheet and its images.
I should add that it _basically_ loads/sets the style sheet, but the images 
get lost when the cwd is not the same as the style sheet's path...
-- 
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/

"You'll never be the man your mother was!"




More information about the Qt-interest-old mailing list