Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, February 2007
Getting library dependencies list from build Qt while linking Qt-application


Message 1 in thread

Hi!

This is a question: how I can get library dependencies list from ready 
Qt-libraryes (Qt4 build with options I don't know).
I could put this list into my linker for linking my application using Qt. And 
if i'll get Qt libraryes build with same other options I'll get troubles with 
linking (or unnecessary dependensies for my application).

-- 
 [ signature omitted ] 

Message 2 in thread

Hi,

> This is a question: how I can get library dependencies list from ready 
> Qt-libraryes (Qt4 build with options I don't know).

On which platform? Static or shared Qt libraries?

> I could put this list into my linker for linking my application using Qt. And 
> if i'll get Qt libraryes build with same other options I'll get troubles with 
> linking (or unnecessary dependensies for my application).

Try this:
http://doc.trolltech.com/4.2/qmake-environment-reference.html#library-dependencies

--
 [ signature omitted ] 

Message 3 in thread

Anatoly Kanashin wrote:
> Hi!
>
> This is a question: how I can get library dependencies list from ready 
> Qt-libraryes (Qt4 build with options I don't know).
>   
under linux try:

ldd yourlib.so


Best,

Andre

--
 [ signature omitted ] 

Message 4 in thread

On Thursday 22 February 2007, Anatoly Kanashin wrote:
> This is a question: how I can get library dependencies list from ready
> Qt-libraryes (Qt4 build with options I don't know).
> I could put this list into my linker for linking my application using Qt.
> And if i'll get Qt libraryes build with same other options I'll get
> troubles with linking (or unnecessary dependensies for my application).

You can query for this information using some standard tools, see here: 
http://silmor.de/32


	Konrad

Attachment:

Attachment: pgpRY4NehE0Ix.pgp
Description: PGP signature