From 02a4c58c3db83d4ea40834ac3a99f04cd331b0b3 Mon Sep 17 00:00:00 2001 From: Adil Hanney Date: Sat, 14 Mar 2026 21:16:58 +0000 Subject: [PATCH] fix: use QT_QPA_PLATFORMTHEME=qt5ct not qt6ct The version of qt5ct shipped with Pop!_OS requires this. qt6ct still accepts either value. --- data/start-cosmic | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/start-cosmic b/data/start-cosmic index 5741630..73df86d 100755 --- a/data/start-cosmic +++ b/data/start-cosmic @@ -46,9 +46,10 @@ if [ -z "$QT_QPA_PLATFORMTHEME" ]; then # CuteCosmic found, no need for a fallback. export QT_QPA_PLATFORMTHEME=cosmic break - elif [ -f "${QT_PLUGIN_PATH}/platformthemes/libqt6ct.so" ]; then + elif [ -f "${QT_PLUGIN_PATH}/platformthemes/libqt6ct.so" ] || [ -f "${QT_PLUGIN_PATH}/platformthemes/libqt5ct.so" ]; then # Fallback to qt6ct, but keep looking for CuteCosmic. - export QT_QPA_PLATFORMTHEME=qt6ct + # Note that "qt5ct" is compatible with both qt5ct and qt6ct. + export QT_QPA_PLATFORMTHEME=qt5ct fi done fi