Qt5 Configuration Tool - not configured correctly  [Solved]

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
~FLOW~
Posts: 294
Joined: Thu May 19, 2022 12:43 pm

Qt5 Configuration Tool - not configured correctly

#1 Post by ~FLOW~ »

Hello all,
is this supposed to be this way ?
Screenshot_20230831_202256.png
and if I press "Information" button :
Screenshot_20230831_202301.png
The same is for Qt6
Screenshot_20230831_202417.png
and
Screenshot_20230831_202444.png
You do not have the required permissions to view the files attached to this post.
MX-23.4 / KDE Plasma 5.27
Kernel: 6.XX

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.

User avatar
Eadwine Rose
Administrator
Posts: 15244
Joined: Wed Jul 12, 2006 2:10 am

Re: Qt5 Configuration Tool - not configured correctly

#2 Post by Eadwine Rose »

Please post your Quick System Info using Copy for forum, thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
~FLOW~
Posts: 294
Joined: Thu May 19, 2022 12:43 pm

Re: Qt5 Configuration Tool - not configured correctly

#3 Post by ~FLOW~ »

Eadwine Rose wrote: Thu Aug 31, 2023 1:35 pm Please post your Quick System Info using Copy for forum, thanks.
my bad

Code: Select all

System:
  Kernel: 6.4.9-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable hpet=disable rcupdate.rcu_expedited=1
    BOOT_IMAGE=/vmlinuz-6.4.9-1-liquorix-amd64 root=UUID=<filter> ro splash
    init=/lib/systemd/systemd
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23_KDE_x64 Libretto July
    31 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Portable System: Dell product: Inspiron 3542 v: N/A serial: <superuser required> Chassis:
    type: 8 serial: <superuser required>
  Mobo: Dell model: 0926J6 v: A16 serial: <superuser required> UEFI: Dell v: A16 date: 09/02/2020
Battery:
  ID-1: BAT0 charge: 21.0 Wh (100.0%) condition: 21.0/41.4 Wh (50.6%) volts: 17.0 min: 14.8
    model: SANYO DELL 4WY7C45 type: Li-ion serial: <filter> status: full
  Device-1: hidpp_battery_0 model: Logitech K520 serial: <filter> charge: 70% (should be ignored)
    rechargeable: yes status: discharging
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: model: Intel Core i5-4210U bits: 64 type: MT MCP arch: Haswell gen: core 4 level: v3
    note: check built: 2013-15 process: Intel 22nm family: 6 model-id: 0x45 (69) stepping: 1
    microcode: 0x26
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 875 high: 899 min/max: 782/1701 boost: enabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 898 2: 808 3: 899 4: 898 bogomips: 13568
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel arch: Gen-7.5
    process: Intel 22nm built: 2013 ports: active: HDMI-A-1 off: eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:0a16 class-ID: 0300
  Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] vendor: Dell
    driver: N/A alternate: nouveau non-free: series: 390.xx+ status: legacy-active (EOL~late 2022)
    arch: Fermi code: GF1xx process: 40/28nm built: 2010-16 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: lanes: 16 bus-ID: 08:00.0 chip-ID: 10de:1140 class-ID: 0302
  Device-3: Suyin Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-1.5:5
    chip-ID: 064e:9205 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1280x720 s-dpi: 96 s-size: 337x190mm (13.27x7.48") s-diag: 387mm (15.23")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary model: Samsung serial: <filter> built: 2010
    res: 1280x720 hz: 60 dpi: 203 gamma: 1.2 size: 160x90mm (6.3x3.54") diag: 1021mm (40.2")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: eDP-1 note: disabled model: LG Display 0x0456 built: 2014 res: 1280x720 dpi: 101
    gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes: 1366x768
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 4400 (HSW GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0a0c class-ID: 0403
  Device-2: Intel 8 Series HD Audio vendor: Dell 8 driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:9c20 class-ID: 0403
  API: ALSA v: k6.4.9-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter vendor: Dell driver: ath9k
    v: kernel modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 06:00.0 chip-ID: 168c:0036
    class-ID: 0280
  IF: wlan0 state: down mac: <filter>
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 07:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-3: TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153] type: USB
    driver: r8152 bus-ID: 3-1.4:4 chip-ID: 2357:0601 class-ID: 0000 serial: <filter>
  IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros AR9462 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-1.6:8
    chip-ID: 0cf3:0036 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: N/A rfk-block: hardware: no
    software: no address: <filter>
  Info: acl-mtu: 1022:8 sco-mtu: 183:5 link-policy: rswitch hold sniff
    link-mode: peripheral accept
Drives:
  Local Storage: total: 2.49 TiB used: 1.16 TiB (46.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SHSS37A240G size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 001B scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10JPVX-75JC3T0 size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 1A01
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Seagate model: Expansion size: 1.36 TiB
    block-size: physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 0502 scheme: GPT
Partition:
  ID-1: / raw-size: 222.3 GiB size: 217.75 GiB (97.95%) used: 71.01 GiB (32.6%) fs: ext4
    dev: /dev/dm-0 maj-min: 253:0 mapped: root.fsm
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%) used: 206.8 MiB (21.2%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-3: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 99.5 MiB (3.2%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 48.0 C mobo: 47.0 C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: pm: dpkg pkgs: 2761 libs: 1598 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
    pm: appimage pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
    3: deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/dropbox.list
    1: deb [arch=i386,amd64] http://linux.dropbox.com/debian bookworm main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mxrepo.com/mx/repo/ bookworm main non-free
    2: deb http://mxrepo.com/mx/repo/ bookworm ahs
Info:
  Processes: 238 Uptime: 2h 20m wakeups: 29 Memory: 7.67 GiB used: 2.88 GiB (37.5%) Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
MX-23.4 / KDE Plasma 5.27
Kernel: 6.XX

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: Qt5 Configuration Tool - not configured correctly

#4 Post by dolphin_oracle »

I'm surprised that tool is preinstalled on the KDE iso. I didn't realize that.

yes, the variable would not be normally set up since KDE is already qt and has its own theming.

You could add the enivornment variable to your ~/.bashrc, logout and login, but I have no idea how it will interact with KDE. Might be fine.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
~FLOW~
Posts: 294
Joined: Thu May 19, 2022 12:43 pm

Re: Qt5 Configuration Tool - not configured correctly

#5 Post by ~FLOW~ »

Hi,
any update on this ?
Is this supposed to look like this ?
What is this tool(QT5/QT6) exactlly for ?
MX-23.4 / KDE Plasma 5.27
Kernel: 6.XX

Be patient !!
What seams easy for you now, for a newbie might be a monumental helping hand.
An efficient pack will move as fast as the slowest member.

User avatar
Adrian
Developer
Posts: 9212
Joined: Wed Jul 12, 2006 1:42 am

Re: Qt5 Configuration Tool - not configured correctly  [Solved]

#6 Post by Adrian »

any update on this ?
We removed it from the list of packages for 23.1
What is this tool(QT5/QT6) exactlly for ?
From "apt show qt5ct":
This utility allows users to configure Qt5 settings (theme, font,
icons, etc.) under DE/WM without Qt integration.
.
Qt5ct will only be active on environments other than Plasma.
Default configuration have switch to disable running on Plasma.

advice1010
Posts: 349
Joined: Tue Feb 21, 2023 3:50 pm

Re: Qt5 Configuration Tool - not configured correctly

#7 Post by advice1010 »

Sorry to revive an older solved post, but this is the identical question I have but the opposite DE.
I am rather confused about some gtk / qt issues at the moment so I apologize if I am missing something said.
I am using MX XFCE 23.0 ahs
First off it was said that this application has been removed from 23.1,
-Does this mean it is no longer available for XFCE users in the newest version of MX (23.1)?
-If it is then what application would be used for getting qt elements to work in XFCE DE?
If it is something different then this question might not matter because I plan on updating to 23.1 eventually anyways.

Honestly don't really like to have to use programs like this but just wanted to see if this could clean up a couple of GUI issues.
I recently installed this package from 23.0 MXPI
When I launched the program I see at the top the following message

Code: Select all

the application is not configured correctly
When I clicked the "info" button it gives the following message

Code: Select all

The QT_QPA_PLATFORMTHEME environment variable is not set correctly (current value: gtk2, required value: qt5ct).
I believe I am correct that this has to do with the following application that is pre-installed with MX
qt5-gtk2-platformtheme
Gives the following description

Code: Select all

Qt is a cross-platform C++ application framework. Qt's primary feature
is its rich set of widgets that provide standard GUI functionality.

This package contains the GTK+ 2 style and platform theme. Export
QT_QPA_PLATFORMTHEME=gtk2 to enable it for all Qt applications.
Very confused what I should do?
Not sure how / where to change / add this environmental variable
I have seen people mention a couple of different options paths / files to put this in.
Will changing this variable mess up the above application qt5-gtk2-platformtheme from doing whatever it is designed / installed to achieve?
Does this application "qt5-gtk2-platformtheme" provide gtk2 themes for qt5 based applications? If so why would it not be gtk3 to match other XFCE?

Thank You

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: Qt5 Configuration Tool - not configured correctly

#8 Post by dolphin_oracle »

advice1010 wrote: Tue Jan 09, 2024 2:55 pm Sorry to revive an older solved post, but this is the identical question I have but the opposite DE.
I am rather confused about some gtk / qt issues at the moment so I apologize if I am missing something said.
I am using MX XFCE 23.0 ahs
First off it was said that this application has been removed from 23.1,
-Does this mean it is no longer available for XFCE users in the newest version of MX (23.1)?
-If it is then what application would be used for getting qt elements to work in XFCE DE?
If it is something different then this question might not matter because I plan on updating to 23.1 eventually anyways.
the qt5ct was on the KDE iso, and had no purpose there, and so was removed. It has never been preinstalled on other isos. It is still available in the repo.
Honestly don't really like to have to use programs like this but just wanted to see if this could clean up a couple of GUI issues.
I recently installed this package from 23.0 MXPI
When I launched the program I see at the top the following message

Code: Select all

the application is not configured correctly
When I clicked the "info" button it gives the following message

Code: Select all

The QT_QPA_PLATFORMTHEME environment variable is not set correctly (current value: gtk2, required value: qt5ct).
I believe I am correct that this has to do with the following application that is pre-installed with MX
qt5-gtk2-platformtheme
Gives the following description

Code: Select all

Qt is a cross-platform C++ application framework. Qt's primary feature
is its rich set of widgets that provide standard GUI functionality.

This package contains the GTK+ 2 style and platform theme. Export
QT_QPA_PLATFORMTHEME=gtk2 to enable it for all Qt applications.
Very confused what I should do?
Not sure how / where to change / add this environmental variable
I have seen people mention a couple of different options paths / files to put this in.
Will changing this variable mess up the above application qt5-gtk2-platformtheme from doing whatever it is designed / installed to achieve?
Does this application "qt5-gtk2-platformtheme" provide gtk2 themes for qt5 based applications? If so why would it not be gtk3 to match other XFCE?

Thank You
you could try making a file

Code: Select all

"$HOME/.config/MX-Linux/qt_plugin.conf"
with the contents

Code: Select all

qt5ct
then logout and login in. If that works, great. If that doesn't work, delete the file and edit /etc/X11/Xsession.d/56xfce4-qtconfig so that

Code: Select all

plugin="gtk2"
reads

Code: Select all

plugin="qt5ct"
login, and logout.


changing the value will disable the current Qt theme plugin (gtk2) in favor of qt5ct.

The gtk2 plugin assigns gtk2 themes to Qt5 applications. This only works if a chosen gtk theme includes gtk2 definitions. Some don't, but all of our default ones do.

There is no gtk3 plugin. There may be something down the road, but its not available on debian yet.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
Stevo
Developer
Posts: 14871
Joined: Fri Dec 15, 2006 7:07 pm

Re: Qt5 Configuration Tool - not configured correctly

#9 Post by Stevo »

There is no gtk3 plugin. There may be something down the road, but its not available on debian yet.
Debian's oddball naming conventions strike again!

I'm using mostly the KDE version of MX 23, but still have the xfce and several other desktops installed, with their configs inherited from at least three previous MX releases (preserving /home with reinstalls to get to a newer dist-release), so this may not work for you...but make sure you have qt5-gtk-platformtheme and qt6-gtk-platformtheme installed, which should make those Qt apps follow the system GTK+ 3 theming.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

advice1010
Posts: 349
Joined: Tue Feb 21, 2023 3:50 pm

Re: Qt5 Configuration Tool - not configured correctly

#10 Post by advice1010 »

@dolphin_oracle
Thank you very much for your response.
That is what sounded like, I just wanted to make sure you guys were not talking about removing it completely for some reason.
I have been trying to figure out a different issue which lead me to recently trying something out in the MX Plasma version (I think 23.0) and I thought it was strange to have an application to make qt look good in... qt :)
I have no idea about what the Plasma version supports but I also noticed that it contained "qt6ct" application as well. This one might be needed? but just wanted to point it out to you guys just in case it doesn't.

Ahh okay I tried both examples you gave, they both lead me to the same outcome, which was getting qt5ct to work. The first method you mentioned to try was easier if anyone else is looking to achieve this.
Also thank you for taking the time to lay it out in a step process, that was very helpful.

@Stevo
Thank you for your response.
Yeah, unless there is some behind the scenes reason, you are 100% right, why would they name this like that?
Toolkit numbers are going to continue to be added, so if there are packages that are created for specific toolkits, why not put the number of the toolkit? That is very confusing.

Post Reply

Return to “MX KDE Official Release”