• QT5 Config broke on fresh install of MATE


    Hi,

    From a fresh install I get the following error on MATE 1.18-1. QT4 and and QT5 apps look pretty bad out of the box. What do you think could be causing the error and how might I go about fixing it?

    0_1489973679609_Screenshot from 2017-03-20 00-57-32.png

    The QT_GPA_PLATFORMTHEME environment variable is not set correctly

  • Qt5 is not broken on freshly installed Antergos Mate 1.18.

    Run Qt5 Configuration Tool qt5ct from the command line:

    qt5ct
    

    You’ll see in terminal

    ┌──[just]@[alexatm]:~$
    └─> qt5ct
    qt5ct: using qt5ct plugin
    Configuration path: /home/just/.config/qt5ct/
    Shared QSS path: /usr/share/qt5ct/qss/
    

    And Qt5 Config window will open:
    0_1489993407512_antergos-mate-1.18-qt5-config-tool-qt5ct.png

    Set Qt5 as you wish. Close the config window.

    QT_GPA_PLATFORMTHEME env var doesn’t exist. Instead, QT_QPA_PLATFORMTHEME does exist and is set by qt5ct:

    ┌──[just]@[alexatm]:~$
    └─> echo $QT_QPA_PLATFORMTHEME
    qt5ct
    ┌──[just]@[alexatm]:~$
    └─>
    

    Once Qt5 was configured from the command line, Mate’s Control Center --> Look and Feel --> Qt5 Settings may be clicked. With about 2 seconds delay the Qt5 Configuration Tool window will be opened.

    Nihil sub sole novum. Everything is already described in ArchWiki. Qt5 under DEs different from KDE Plasma is explained here.

  • Thanks for the help. Unfortunately when I run qt5ct I receive the same error.

    0_1490006239420_Screenshot from 2017-03-20 10-35-55.png

    P.S. I’m not sure this is helpful information but qt4 apps also haven’t been themed.

  • I have no other things to add to what was alredy said. Qt5 works as expected and as described in ArchWIki here.

    Try to (temporarily) set QT_QPA_PLATFORMTHEME to qt5ct value, and run qt5ct utility immediately after that, within the same terminal session.

  • Thanks again for your help.

    @just said in QT5 Config broke on fresh install of MATE:

    Try to (temporarily) set QT_QPA_PLATFORMTHEME to qt5ct value, and run qt5ct utility immediately after that, within the same terminal session.

    Sorry, I don’t think I know how to do that. I’ve still not found a way to get this to work unfortunately.

  • export QT_QPA_PLATFORMTHEME=qt5ct && qt5ct
    
  • @just Thanks again for your help, it’s very much appreciated.

    That’s opened up the qt5config app. I can’t use it to make any changes to my qt apps. Is there a good way to progress with what we know?

  • @635 said in QT5 Config broke on fresh install of MATE:

    @just Thanks again for your help, it’s very much appreciated.

    That’s opened up the qt5config app. I can’t use it to make any changes to my qt apps…

    What does it mean? You can’t change anything in this window?
    0_1490016843631_antergos-mate-1.18-qt5-config-tool-qt5ct.png

  • @just The changes made don’t seem to affect any other qt apps. I can adjust the settings in the qt5config when run as

    export QT_QPA_PLATFORMTHEME=qt5ct && qt5ct
    

    0_1490017142671_Screenshot from 2017-03-20 13-38-36.png

  • @635 Sure that doesn’t help to change Qt5 settings in other Qt5 apps - you’re changing Qt5 only temporarily, for the current terminal session. Any Qt5 changes, made within it, are not visible for Qt5 apps, started from other places. Moreover, when terminal is closed, all Qt5 changes, made within it, are lost.

    It’s just a safe test, to check that qt5ct may be launched, if QT_QPA_PLATFORMTHEME is set correctly. Nothing more. It doesn’t change Qt5 settings in your system.

    Why QT_QPA_PLATFORMTHEME does not set correctly on your system is another question. I have no answer for it right now. Read ArchWiki (see link above) one more time. It suggests several alternative ways to setup Qt5 outside Plasma.

  • Okay, could it be a hiccup from MATE going full gtk3?

    It’s only on the MATE version so perhaps I’ll just go XFCE or Gnome.

    Thanks again for your help. I’m sorry we couldn’t work out a solution, perhaps another kind passerby might offer insight.

  • I doubt that. All that I wrote in this thread I did in Antergos Mate 17.3 1.18, installed exactly 2 days ago. It’s a fresh, clean installation on bare metal, no additional pkgs, no VMs. A pure Mate 1.18 Gtk3, nude and crude. Which works flawlessly here.

  • Ok, I don’t really know where to go from here.

  • @635 It’s working on my VM here; i’ll test on RM and get back to you.
    EDIT: it’s working fine on real and virtual machine here.

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto Thanks for you help, I really appreciate it.

    I’ve replicated the error in a VM and screencapped the process https://youtu.be/e4qeubsQQc4 You can skip to the end to see the issues.

  • @635 I’m not sure if you installing KDE stuff replaced some Mate QT5 version.
    Here is my pastebin of QT5 installed stuff.

    PS: I don’t have KDE here, and very few programs from it.

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto What command do I need to input to list mine?

  • @635 pacman -Ss qt5 | grep installed if your system is in english

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @just said in QT5 Config broke on fresh install of MATE:

    I doubt that. All that I wrote in this thread I did in Antergos Mate 17.3 1.18, installed exactly 2 days ago. It’s a fresh, clean installation on bare metal, no additional pkgs, no VMs. A pure Mate 1.18 Gtk3, nude and crude. Which works flawlessly here.

    Yes, he installed some KDE packages and it seems ended up replacing QT5 stuffs…

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

  • @fernandomaroto Ah thanks, here’s my output:

    antergos/qt5-styleplugins 5.0.0.1r33-1 [installed]
    extra/attica-qt5 5.32.0-1 (kf5) [installed]
    extra/libdbusmenu-qt5 0.9.3+16.04.20160218-1 [installed]
    extra/phonon-qt5 4.9.1-2 [installed]
    extra/polkit-qt5 0.112.0+git20160226-1 [installed]
    extra/poppler-qt5 0.52.0-1 [installed]
    extra/qt5-base 5.8.0-7 (qt qt5) [installed]
    extra/qt5-declarative 5.8.0-1 (qt qt5) [installed]
    extra/qt5-location 5.8.0-1 (qt qt5) [installed]
    extra/qt5-multimedia 5.8.0-1 (qt qt5) [installed]
    extra/qt5-quickcontrols 5.8.0-1 (qt qt5) [installed]
    extra/qt5-script 5.8.0-1 (qt qt5) [installed]
    extra/qt5-sensors 5.8.0-1 (qt qt5) [installed]
    extra/qt5-speech 5.8.0-2 (qt qt5) [installed]
    extra/qt5-svg 5.8.0-1 (qt qt5) [installed]
    extra/qt5-webchannel 5.8.0-1 (qt qt5) [installed]
    extra/qt5-webkit 5.8.0-1 (qt qt5) [installed]
    extra/qt5-x11extras 5.8.0-1 (qt qt5) [installed]
    extra/qt5-xmlpatterns 5.8.0-1 (qt qt5) [installed]
    extra/sonnet 5.32.0-1 (kf5) [installed]
    community/qt5ct 0.30-1 [installed]```
broke12 config4 qt510 fresh20 Posts 27Views 1691
Log in to reply