You are not logged in.
hi,
i want to set the default Qt toolkit on my system:
https://wiki.archlinux.org/index.php/qt … Qt_toolkit
but qtchooser is no longer available, why?
i tried qt5ct but it doesn't work, it says:
"THE QT_QPA_PLATFORMTHEME enviomnt avriable is not set correctly."
$ qt5ct
Configuration path: /home/pippo/.config/qt5ct/
Shared QSS path: /usr/share/qt5ct/qss/
i use openbox
Last edited by quellen (2016-10-07 19:22:21)
sorry for my bad english
Offline
I have this environment variable set and it works.
export QT_QPA_PLATFORMTHEME=qt5ct
Offline
You are mistaking Qt toolkit, Qt Platform Theme and Qt Theme. What you want to do is change the Qt Theme, I presume, no the Qt Toolkit (which is not supported anymore).
Offline
I have this environment variable set and it works.
export QT_QPA_PLATFORMTHEME=qt5ct
Yes, and after that re-login.
Offline
ok, i run it with:
QT_QPA_PLATFORMTHEME="qt5ct" qt5ct
i tried to change the colors but in qt applications there is still default color theme (gray), why?
Last edited by quellen (2016-10-07 16:20:26)
sorry for my bad english
Offline
i tried to change the colors but in qt applications there is still default color theme (gray), why?
Pallete -> choose 'custom' -> click '...' -> +create -> click '...' -> Edit -> set the colors
That should do it, I think. ;-)
Offline
You need to set that environment variable for all Qt programs, not just qt5ct.
Offline
i do it. the icon theme and fonts works, but colors no:
$ QT_QPA_PLATFORMTHEME="qt5ct" sigil
Debug: using qt5ct plugin
Debug: D-Bus system tray: no
Debug: palette support is disabled
Last edited by quellen (2016-10-07 17:33:20)
sorry for my bad english
Offline
What "Style" is selected, QtCurve, Fusion, Windows…?
Offline
Windows. i have tried to set FUSION but nothing changes. it doesn't take my colors.
Last edited by quellen (2016-10-07 18:46:18)
sorry for my bad english
Offline
Instead of issuing QT_QPA_PLATFORMTHEME="qt5ct" sigil, have you tried to put
export QT_QPA_PLATFORMTHEME=qt5ct
in .bashrc or whatever and re-login and launch qt5 apps as usual?
Offline
i have tried now: nothing changes: sigil takes only icon theme and fonts, the colors are still gray.
$ sigil
Debug: using qt5ct plugin
Debug: D-Bus system tray: no
Debug: palette support is disabled
$ cat ~/.config/qt5ct/qt5ct.conf
[Appearance]
color_scheme_path=/home/pippo/.config/qt5ct/colors/pippo.conf
custom_palette=true
icon_theme=gnome
style=Fusion
[Fonts]
fixed=@Variant(\0\0\0@\0\0\0\x16\0\x44\0\x65\0j\0\x61\0V\0u\0 \0S\0\x61\0n\0s@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
general=@Variant(\0\0\0@\0\0\0\x16\0\x44\0\x65\0j\0\x61\0V\0u\0 \0S\0\x61\0n\0s@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
[Interface]
activate_item_on_single_click=1
buttonbox_layout=0
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
menus_have_icons=true
stylesheets=@Invalid()
[PaletteEditor]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\0V\0\0\0~\0\0\x2\xd0\0\0\x2\xa5\0\0\0X\0\0\0\x93\0\0\x2\xce\0\0\x2\xa3\0\0\0\0\0\0\0\0\x4\0)
[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\0\xec\0\0\0\x83\0\0\x2\xc4\0\0\x2\x80\0\0\0\xee\0\0\0\x98\0\0\x2\xc2\0\0\x2~\0\0\0\0\0\0\0\0\x4\0)
$ cat ~/.config/qt5ct/colors/pippo.conf
[ColorScheme]
active_colors=#ffffff, #1f1a1a, #ffffff, #cbc7c4, #9f9d9a, #b8b5b2, #ffffff, #ffffff, #ffffff, #1f1a1a, #1f1a1a, #767472, #c6780b, #ffffff, #0000ff, #ff00ff, #1f1a1a, #000000, #1f1a1a, #ffffff
disabled_colors=#bebebe, #efebe7, #ffffff, #cbc7c4, #beb6ae, #b8b5b2, #bebebe, #ffffff, #bebebe, #efebe7, #efebe7, #b1aeab, #918d7e, #ffffff, #0000ff, #ff00ff, #f7f5f3, #000000, #ffffdc, #000000
inactive_colors=#ffffff, #1f1a1a, #ffffff, #cbc7c4, #9f9d9a, #b8b5b2, #ffffff, #ffffff, #ffffff, #1f1a1a, #999794, #767472, #c6780b, #ffffff, #0000ff, #ff00ff, #1f1a1a, #000000, #1f1a1a, #ffffff
Last edited by quellen (2016-10-07 18:58:59)
sorry for my bad english
Offline
What about other qt5 apps?
ED: Sorry, qt5ct itself seems to fail as well?
What qt5 packages have you got?
ED: Well, not sorry! qt5ct seems to work. So obviously sigil has hardcoded colours.
Last edited by fluxboxer (2016-10-07 19:10:38)
Offline
i have tried MINITUBE. it works, it takes my color theme!
$ minitube
qt5ct: using qt5ct plugin
qt5ct: custom style sheet is disabled
than it's a sigil problem?
$ pacman -Q|grep qt
phonon-qt5 4.9.0-1
phonon-qt5-gstreamer 4.9.0-1
qt4 4.8.7-10
qt5-base 5.7.0-3
qt5-declarative 5.7.0-3
qt5-location 5.7.0-1
qt5-script 5.7.0-1
qt5-sensors 5.7.0-1
qt5-svg 5.7.0-1
qt5-webchannel 5.7.0-1
qt5-webkit 5.7.0-1
qt5-x11extras 5.7.0-1
qt5-xmlpatterns 5.7.0-2
qt5ct 0.27-1
qtwebkit 2.3.4-4
sorry for my bad english
Offline
Yes, some silly devs are like that unfortunately!
Offline