[Qt-interest] qss url with special character

Christophe Lallement CLallement at slb.com
Mon Nov 7 15:18:26 CET 2011


Dear  all

I want  to add   a image  'icon.png'  in my qss . The path to the image contains some special characters.
For instance : "c:\dummy\é\icon.png"  .

I  try       image: url(c:/dummy/é/icon.png);

                image: url('c:/dummy/é/icon.png');
                image: url('c:/dummy/%E9/icon.png');
                image: url('c:/dummy/\00E9/icon.png');
                image: url('c:/dummy/ testé/icon.png');
image: url('c:/dummy/ test é/icon.png');

with or without ' ...'  but it's not working

How can I deal with that ?

Thanks a lot
Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111107/272bd14e/attachment.html 


More information about the Qt-interest-old mailing list