Problem Link to heading

When we change the theme of the QT apps to the dark variant, the text of the interference might be difficult to see on the dark background.

Dark text on dark background (Goldendict)

Dark text on dark background (Goldendict)

Solution Link to heading

  1. Install Tools: $ yay -S kvantum-qt5 qt5ct qt5-styleplugins

  2. Add the content below in ~/.profile:

    export QT_QPA_PLATFORMTHEME=gtk2
    export QT_STYLE_OVERRIDE=kvantum
    
  3. Select the preferred dark theme in Kvantum.

    Select preferred dark theme

    Select preferred dark theme

  4. Change kvantum to kvantum-dark in the QT5 Setting as below:

    Change kvantum to kvantum-dark

    Change kvantum to kvantum-dark

.. note:: Sometimes you will need to log out and log in again to apply the new settings.

Result Link to heading

Interface after fix (Goldendict)

Interface after fix (Goldendict)