[Interest] Qt5 and "global" configuration

Stanislav Baiduzhyi sbaiduzh at redhat.com
Thu Nov 13 10:19:40 CET 2014


On Wednesday 12 November 2014 12:46:02 Thiago Macieira wrote:
> 3) delegation: this is delegated to the platform theme plugins. Qt
> applications are meant to look like the system, therefore the the plugin
> will decide what the application should look like and which files it needs
> to read in order to come to the right decisions.
> 
> We could provide a plugin that reads configuration files, but it would not
> be the default in any platform.

That can be extremely problematic on desktops without any kind of UI or less 
supported UI. Think of TWM, IceWM, some rare desktops like now perished 
RazorQt and stuff like that. Or adding second user on your main system but not 
logging in for the first time to allow KDE or gnome to create any 
configuration, but just launching Qt apps with kdesu or sudo. In addition, all 
of that can go though vnc to the display with ppi resolution very far from one 
the app is launched on. In those cases having normal configurations hierarchy 
(like read app settings, fallback to ~/.config, fallback to /etc) would be 
extremely helpful. And that is one of the reasons why using Qt4 apps in all of 
those cases I listed above is way more convenient than using Qt5 apps.

-- 
     Regards,
        Stas



More information about the Interest mailing list