[Interest] QtArg

Rui Maciel rui.maciel at gmail.com
Wed Apr 11 11:45:15 CEST 2012


On 04/10/2012 09:23 PM, Thiago Macieira wrote:
> 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).

Sometimes it is preferable to "reinvent the wheel" than to introduce yet 
another unjustifiable dependency to a software package.  Regarding this 
example, it sounds a bit too excessive to suggest bundling KDE libs just 
to be able to perform simple stuff such as handling command line 
arguments.  This is simply unacceptable.


>> 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 the above example, this would mean statically linking an additional 
20 MB just to be able to handle command line arguments.  This may not be 
acceptable to a considerable number of people.


Rui Maciel



More information about the Interest mailing list