krystosan 0 Junior Poster

Hello,

I have got this a Qt stylesheet, how do I load it to my PyQt module after creating a QString Object.

if I do

from PyQt4 import QtCore
s = QtCore.QString('c:\myProject\darkFantasy.stylesheet')

the above code loads the path string rather than the actual stylesheet.

So how do I load the actual content of the stylesheet file..?