• Qt5 is making some apps' GUIs look terrible!


    The window for the Qt5 settings utility in MATE, as well as for Octopi, is not being drawn correctly under Qt5 in MATE. Does Qt5 not get along well with MATE or something?

  • @KYJazzyJeff said in Qt5 is making some apps' GUIs look terrible!:

    Qt5 settings

    https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3-wm#gnome-shell

  • @KYJazzyJeff said in Qt5 is making some apps' GUIs look terrible!:

    …Does Qt5 not get along well with MATE or something?

    0_1504506487761_mate-qt5ct-octopi-2017.09.04.png

  • @KYJazzyJeff read the Wiki entry:

    For Qt 5, it can be enabled by installing qt5-styleplugins and setting the following environment variable: QT_QPA_PLATFORMTHEME=gtk2 for this simple edit
    nano ~/.xinitrc
    and insert the line:
    QT_QPA_PLATFORMTHEME=gtk2
    save the file [Ctrl+X] and install qt5-styleplugins:
    sudo pacman -S qt5-styleplugins
    logout and back in and change style to gtk2:

    0_1504604515531_qtstyle.png

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3-wm#gnome-shell

  • How to set up qt5 in gtk DEs.

    Gtk should not need Qt5. But it uses qt5 nowdays.

    Arch and its derivatives, including Antergos, Revenge, Bluestar has the /etc/environment file. Debian, Fedora, openSUSE, Gentoo have it as well.

    The /etc/environment file in Arch Gtk is usually empty:

    #
    # This file is parsed by pam_env module
    #
    # Syntax: simple "KEY=VAL" pairs on separate lines
    #
    

    Append to it:

    #--just added
    QT_QPA_PLATFORMTHEME=qt5ct
    #--
    

    After that, the /etc/environment file in Arch Gtk should look like:

    #
    # This file is parsed by pam_env module
    #
    # Syntax: simple "KEY=VAL" pairs on separate lines
    #
    
    #--just added
    QT_QPA_PLATFORMTHEME=qt5ct
    #--
    

    Log out from X session. Log back in. Reboot is not needed.

    Do not install qt5ct in Plasma. It works for Gtk only. It ruins Plasma interface.

    Again: never install and never use qt5ct in Plasma.

    Qt5 apps take an enormolus time to start up in Gtk. Be patient and wait.

    The basic Qt5 has only two Gtk styles: Windows and Fusion. As already suggested, more Qt5 styles may be installed with:

    sudo pacman -Syu community/qt5-styleplugins
    

    community/qt5-styleplugins pachage will add:

    bb10dark
    bb10bright
    clearlooks
    gtk2
    cde
    motif
    plaxtique
    

    to Qt5 Gtk styles.

Posts 5Views 158
Log in to reply