dracula / qt5

🧛🏻‍♂️ Dark theme for qt5
https://draculatheme.com/qt5
MIT License
27 stars 8 forks source link

Incomplete instructions on draculatheme.com #3

Closed ElnuDev closed 3 years ago

ElnuDev commented 3 years ago

The instructions provided on draculatheme.com are incomplete, at least for my system running Ubuntu 21.04. In qt5ct I got the error "The QT_QPA_PLATFORMTHEME environment variable is not set (required value: qt5ct)" and after a quick search, I found this thread on the Arch Linux Forums with a solution: one has to edit ~/.profile and add the line export QT_QPA_PLATFORMTHEME="qt5ct", log out, and log back in again. I'm not sure of this is the right repository to open an issue on, but others might find this helpful when trying to install the Dracula qt5 theme.

TechieAndroid commented 3 years ago

Usually, you'd run into this problem on non-qt5 ready environments (unless I'm remembering wrong). Or custom built ones, which in that case they will know what they're doing anyway.

I don't really see the need to add this to the steps to set up the theme since it is basically a prerequisite to doing anything with qt, plus qt5ct will already tell you to add the variable. I feel like it could become too broad of a subject to have to detail in the guide.

Closing for now.

ryleu commented 5 months ago

As someone with a custom built setup, I have no idea what I'm doing and this got me to the right answer. Would love to get this added to instructions!