On Saturday, 2013-11-16, 23:19:25, PCMan wrote:
> On Sat, Nov 16, 2013 at 11:00 PM, Kevin Krammer <kram...@kde.org> wrote:
> > On Saturday, 2013-11-16, 19:56:44, PCMan wrote:
> > > Hello,
> > > After some research, I found that we can utilize the Qt GUI platform
> > 
> > plugin
> > 
> > > to integrate Qt apps with our DE. For example, the 3rd party Qt apps can
> > > use the icon theme we specified by default.
> > > Hence I added a new component, lxqt-qtplugin.
> > > This will install a plugin in /usr/lib/qt4/plugins/gui_platform.
> > > By exporting QT_PLATFORM_PLUGIN=lxqt, we can ask Qt to load our plugin
> > 
> > for
> > 
> > > every Qt programs, including the 3rd party ones.
> > 
> > You probably don't have to create your own QPA, at least not in Qt5.
> > 
> > The QPAs purpose is to do the plaform abstraction, e.g. X11, Wayland,
> > Windows,
> > Mac, etc.
> > 
> > The QPA itself can make of further extension points, which is currently
> > used
> > for KDE and GNOME integration. See QPlatformTheme.
> > 
> > Cheers,
> > Kevin
> > 
> > Thank for the tip. I'm aware of that.
> 
> However QPlatformTheme is a work in progress and is Qt5 only.
> So currently a platform plugin is still wanted.
> Many Qt programs are not yet ported to Qt5.
> Besides, some distros are well known for their slow upgrade, such as Debian.
> It can takes 1-2 years for the new Qt versions to enter a debian stable
> release.

Still, even with Qt4 there is a different mechanism for desktop integration. 
KDE doesn't ship an X11 QPA yet gets its integration hooks called from Qt 
applications.
The Qt5 version is simply more formalized, has probably more extension points 
and is used by other platforms then X11.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to