[Qt-interest] Qt loads its run-time library question?
Thiago Macieira
thiago at kde.org
Tue Jan 12 08:56:15 CET 2010
Em Terça-feira 12. Janeiro 2010, às 08.45.11, Wei Song escreveu:
> Hi,
>
> I want to know that whether a simple widget Qt program start to run, it
> would load all its run-time library in different platform or load just what
> it need?
> Like QtCore, QtGui, QtWebkit...?
>
> For example, a console Qt program would load QtGui run-time library?
When a program is loaded, before it starts executing, all the dependent
libraries are loaded.
The libraries loaded are those you linked to. So you should not link to
libraries you don't need to.
> And the ways Qt load its run-time library in different platform are same?
Yes and no. Qt doesn't load its libraries. The system loads the Qt libraries.
And since each system is different, the way they load is different too.
But in essence, the principle is the same: you link to it, it gets loaded at
runtime.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100112/4803e948/attachment.bin
More information about the Qt-interest-old
mailing list