qt5 apps in antiX

Message
Author
User avatar
Adrian
Developer
Posts: 8270
Joined: Wed Jul 12, 2006 1:42 am

Re: qt5 apps in antiX

#11 Post by Adrian »

Good find. So... why did it work in MX?

User avatar
dolphin_oracle
Developer
Posts: 20034
Joined: Sun Dec 16, 2007 1:17 pm

Re: qt5 apps in antiX

#12 Post by dolphin_oracle »

Adrian wrote:Good find. So... why did it work in MX?
because in MX the XDG_CURRENT_DESKTOP environment variable is set by XFCE to ..... XFCE. and qt5 libraries are built to handle that. antiX doesn't set the variable at all. I chose LXDE because I figured it was predefined and because due to their design philosophy, it is unlikely to break anything.

so someone got "cute" with where they thought qt apps would get run.
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.

User avatar
Paul..
Posts: 1777
Joined: Sun Mar 18, 2007 6:34 pm

Re: qt5 apps in antiX

#13 Post by Paul.. »

har, har...no pun intended...nice find, DO!

Asus Prime X570-Pro | AMD Ryzen 7 3700X
16 Gig DDR4 3600 | Radeon RX 5600 XT Graphics
Samsung 860 500GB SSDs (2)

User avatar
Stevo
Developer
Posts: 12843
Joined: Fri Dec 15, 2006 8:07 pm

Re: qt5 apps in antiX

#14 Post by Stevo »

Does AntiX have that same setting in ~/.config/.Trolltech.conf to have Qt applications use the GTK theming as we have in MX? It's set by the same file in /etc/skel.

Code: Select all

[Qt]
style=GTK+
I remember we added that to solve a similar Qt theming problem in MX.

User avatar
dolphin_oracle
Developer
Posts: 20034
Joined: Sun Dec 16, 2007 1:17 pm

Re: qt5 apps in antiX

#15 Post by dolphin_oracle »

Stevo wrote:Does AntiX have that same setting in ~/.config/.Trolltech.conf to have Qt applications use the GTK theming as we have in MX? It's set by the same file in /etc/skel.

Code: Select all

[Qt]
style=GTK+
I remember we added that to solve a similar Qt theming problem in MX.
yeah...that works for qt4 apps, but not for qt5 apps.
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.

User avatar
Stevo
Developer
Posts: 12843
Joined: Fri Dec 15, 2006 8:07 pm

Re: qt5 apps in antiX

#16 Post by Stevo »

dolphin_oracle wrote:
Stevo wrote:Does AntiX have that same setting in ~/.config/.Trolltech.conf to have Qt applications use the GTK theming as we have in MX? It's set by the same file in /etc/skel.

Code: Select all

[Qt]
style=GTK+
I remember we added that to solve a similar Qt theming problem in MX.
yeah...that works for qt4 apps, but not for qt5 apps.
OK. I know that the Qt 5 5.3.2 in Jessie doesn't support using non-builtin Qt themes (have to have at least 5.4 for that to work, thus qt5ct can be built on our Qt 5 but doesn't work), which is one of the reasons I prefer to build backported applications against Qt 4 instead of 5 if they support it. (qBitorrent, SMPlayer, etc) Debian's upstream policy is to always build against Qt 5 if there's a choice.

I have an OBS repo someplace with a backported Qt 5 5.5 and the qt5 configuration tool, and when I upgraded a test MX 15 install from it, the tool then started working.

I don't know it the MX apps still support Qt 4...

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

Re: qt5 apps in antiX

#17 Post by Adrian »

I don't know it the MX apps still support Qt 4...
There are some slight variations, I don't test anymore against Qt4, most programs might compile or need minor code edits, but since I will try to use some Qt5 features I don't think it's a good idea to get stuck in the past.

antiX-Dave
Developer
Posts: 372
Joined: Mon Apr 16, 2012 4:51 pm

Re: qt5 apps in antiX

#18 Post by antiX-Dave »

What does that variable need to say?
For instance can we put the desktop session code in there and have the same result?

User avatar
Jerry3904
Administrator
Posts: 21964
Joined: Wed Jul 19, 2006 6:13 am

Re: qt5 apps in antiX

#19 Post by Jerry3904 »

I don't think it's a good idea to get stuck in the past
No politics...

:hot: :hot:
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
timkb4cq
Developer
Posts: 3207
Joined: Wed Jul 12, 2006 4:05 pm

Re: qt5 apps in antiX

#20 Post by timkb4cq »

It appears that the supported values are these.
https://specifications.freedesktop.org/ ... t/apb.html
With the XDG_CURRENT_DESKTOP variable having been created to facilitate OnlyShowIn menu entries.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

Post Reply

Return to “antiX”