[email protected]於 2013年4月28日星期日UTC+8下午11時18分14秒寫道:

> On Sunday, 2013-04-28, PCMan wrote: 
>
> > About gvfs, I'll keep using it for now. Mixing GIO and Qt works 
> > perfectly and Qt has built-in glib integration. 
>
> Only on Unix though, but I guess that is of little concern to Unix desktop 
> environment projects :) 
>
> > Gvfs has more and more backends and many of them has no FUSE-based 
> > equivalence. 
>
> I always like the idea of GVFS mount daemons. I think that a Qt based 
> implementation of at least the client library would make a nice official 
> Qt 
> addon, that is, assuming that a couple of the mount daemons can be made 
> crossplatform. 
>
> Basically getting remote file access available on all Qt supported 
> platforms, 
> even on those that do not support it themselves. 
>
> When GVFS was introduced I investigated the option of implementing the 
> protocol using Qt native facilities, but at that time maintainer Alexander 
> Larsson said that the protocol wasn't stable enought yet. 
>

IIRC, there was some attempt in the past to make it work with Qt.
Kommodity http://websvn.kde.org/trunk/playground/libs/kommodity/

And there was also some work to make KIO slave work with Gtk+.
https://live.gnome.org/KioGioBridge

None of them seems to be active, though.
 

>
> > An alternative would be to use KDE's KIO slave, if you're OK 
> > with the KDE dependencies. 
>
> KIO will be one of the KDE frameworks rated as Solution, i.e. depends on 
> runtime services (just like GVFS), but it has very little other 
> dependencies. 
>

Really glad to hear that!! It's a long awaited feature.
Gvfs, however, has one thing that always beat KIO slave.
It's implemented in plain C and can hence be usable from nearly any 
programs.
C++ APIs, like KDE ones, are hard to use in C programs.
Creating a C wrapper around a C++ library is really a boring task and I 
guess nobody will want to do it.
So, I personally prefer C-based libraries in this case.
Unleass there can be a pure C implementation of the KIO protocol or a thin 
C wrapper for the C++ API it projects, it's difficult to use KIO in 
Gtk/Gnome programs.
 

>
> Cheers, 
> Kevin 
> -- 
> Kevin Krammer, KDE developer, xdg-utils developer 
> KDE user support, developer mentoring 
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to