Actually you can get the effect without installing anything into Mudlet, merely find the style.qss
Qt Style file and all the images (in a ./rc/ sub-directory) in either the above package or from the indicated source to a directory somewhere and then do a global search and replace in the style file to replace the references to ":/qss_icons/rc/" in the Qt resource file style.qrc (the lines containing:
Code: Select all
image: url(:/qss_icons/rc/<an image filename>.png);
) to point to the location in your file-system.
The style.qrc file is effectively an archive type file with the same files inside as are available in the source.
You will want to change the location to the actual ones of the image files (probably relative to the intended location of the style file) - then you can start Mudlet with the command line argument --stylesheet=
<relative path from the Mudlet executable to the style file>/style.qss
and it will use the style just like that. Note: for convenience it is probable simplest just to put the style.qss file in the same directory as the Mudlet executable and the images in an rc
Incidentally, it is probably quicker if you are experimenting with your own Qt stylesheet that will use external files to at least work with actual files until you want to start bundling them up as the creator of this project has. You may notice that Mudlet too uses a Qt resource file which you may see as mudlet_alpha.qrc in the sources, strangely we have never updated it from being called alpha even though we have been through more than one official release (candidates)!