allencch / med

Linux alternative game memory editor
https://allencch.wordpress.com/2015/05/28/my-memory-editor-med/
BSD 3-Clause "New" or "Revised" License
62 stars 5 forks source link

Dark mode? #12

Open amenoko opened 4 months ago

amenoko commented 4 months ago

Is it possible to add a dark theme? I wouldn't mind adding it myself, if only I knew how qt works, I'm not a dev.

allencch commented 4 months ago

Depend on which Desktop Environment you are using, you can add the dark theme.

Alternatively, you can try installing qt5ct (Qt5 Configuration Tool) and make the changes of the appearance. Then in the environment variable, add

QT_QPA_PLATFORMTHEME=qt5ct

or run the above together with the command. Eg QT_QPA_PLATFORMTHEME=qt5ct sudo ./med-ui (in the working directory that has the med-ui together with other ui files.