I am now trying to allow users change the app's theme.A theme contains some PNG files and related *.qss files.
The app will Open the current theme folder and read the correct QSS file to set styles for widgets.
Now problem comes:
In the QSS file ,my image URL use relative paths(That's a must,as theme designers can't get the path of the theme folder,so absolute path can not be used.)
However,QT does not search for files in the QSS's folder ,but still search in the App's folder.So the resource files always can't be loaded.
That really blocks me.
Any reply,thanls
Bookmarks