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

Qt-interest Archive, October 2001
linking libqte.a with examples


Message 1 in thread

Hi,
    I have compiled embedded qt library file as an archive file into libqte.a, how do I link the examples statically with this file. Examples are still using libqte.so.

regards,
Paresh.

Message 2 in thread


On Mon, 1 Oct 2001 20:10, paresh@w-o-i.com wrote:
> Hi,
>     I have compiled embedded qt library file as an archive file into
> libqte.a, how do I link the examples statically with this file. Examples
> are still using libqte.so.

Hi,

Delete the .so files in the qt/lib directory (or move them away to somewhere 
else while you link). That way the linker will be forced to use the .a files 
instead. 

---
Regards
John