QT Applications Not Adhering to GTK Theme After Upgrading to Ubuntu 23.10

Hello Ubuntu community,

I recently upgraded my system from Ubuntu 22.04 to 23.10 and encountered an issue with QT applications. Despite installing Kvantum and attempting to change the theme, these applications refuse to follow the GTK theme. The discrepancies extend to the mouse cursor, toolbar, and buttons, making them appear inconsistent with other applications.

I’m seeking assistance to resolve this matter. Has anyone else experienced similar problems after upgrading to Ubuntu 23.10? Any guidance on how to ensure consistent theming for QT applications would be greatly appreciated. Thank you in advance for your help!

Asked By: Ali

||

If you’re facing theme inconsistencies with QT applications after installing Kvantum or Qt5ct on Ubuntu 23.10, there’s a straightforward solution. Set the following environment variable to enhance compatibility:

QT_QPA_PLATFORM=xcb

This adjustment ensures a smoother integration of QT applications with the chosen themes. After installation, you should observe improved theming consistency across your system.

Answered By: Ali
Categories: Answers Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.