[Interest] QtArg

Thiago Macieira thiago.macieira at intel.com
Tue Apr 10 22:23:31 CEST 2012


On terça-feira, 10 de abril de 2012 22.53.01, Nikos Chantziaras wrote:
> Bundling KDE libs?  It's much simpler to not use KDE functionality.
> Otherwise you end up with a big size that is unsuitable for small
> utility applications.

Ah, but sometimes you end up either reinventing the wheel (command-line 
parsing, for example) or crippling your application (Qt Creator's MIME type 
handling in Qt 4).

> And I don't need an installer.  People value single executables that can
> be copied and run from everywhere (internal hard disks, USB flash
> sticks, whatever.)  And I'm not sure I could link KDE statically into a
> single *.exe like I do with Qt (and if it's possible, it would probably
> end up as some 50MB monstrosity or something :-P)

Static linking Qt usually already brings it upwards of 20 MB. The KDE 
libraries aren't much bigger, especially not kdecore. In fact, kdecore + kdeui 
are the size of QtGui.

In any case, KDE has explicitly shunned static building. It's not possible to 
build the KDE libs in static mode. It was a design decision many years ago 
that has simplified life.

I wish we could do the same for Qt. Keeping it linking statically is very hard 
and we break every other release because no one tests.

BTW, it's known to be broken in Qt 5.

> > As for the GNOME users, they avoid Qt-based applications too.
> 
> Ubuntu ships Qt by default now, so that problem was taken care of.  And
> besides, installing Qt is acceptable to many users (it's quite small.)
> Installing KDE with all its deps is absolutely not OK for many of them.

Ubuntu is not the only Linux distribution. The other, major GNOME distribution 
is Fedora. Unlike Ubuntu, it has made no such decision to include Qt.

Besides, it also depends on how the distribution splits up the packages -- or 
fails to do so. Like Stephen said, for KDE Frameworks 5, we want to modularise 
better, like Qt 5.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120410/464784af/attachment.sig>


More information about the Interest mailing list