A nice solution I use is: Everywhere you need the path to the folder write "%PATH%" (or something else) and when you chance your qss file, read all qss in a string, determinate the path to your qss folder at runtime (since it could be different on different platforms) and do a simple QString::replace() befor setting the qss.