FreeOpcUa / opcua-client-gui

OPC-UA GUI Client
GNU General Public License v3.0
520 stars 171 forks source link

Black theme #27

Open iamjenmackle opened 6 years ago

iamjenmackle commented 6 years ago

Downloaded the client (Mac OSX) and it doesn't look anything like on the screenshot provided here. Is it possible to somehow activate that black theme?

Otherwise great client, works perfectly :)

oroulet commented 6 years ago

very good question... The application uses Qt5, it is supposed to follow the theme of the desktop it is installed on. It used to work on linux, but now it is white again... Qt4 had an applicaiton called qtconfig to change color of qt application. It does not exist anymore for qt5....

oroulet commented 6 years ago

On linux one can do the following

  1. Install qt5-styleplugins and qt5ct
  2. export QT_QPA_PLATFORMTHEME=qt5ct # in terminal or .profile or /etc/profile or whatever
  3. run qt5ct and select a theme which is black
cotwitch commented 4 years ago

... and on Mac, macOS respectively?