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

Qt-interest Archive, February 2007
Qmake doubt: how to write a .pro file where i statically link my program against a library?


Message 1 in thread

Hi,

I have this statically compiled KHTML that i want to link against.

Could someone please tell me how to do it in the .pro file?

---
Thanks
Manish

--
 [ signature omitted ] 

Message 2 in thread

On 19.02.07 21:22:06, Manish Chakravarty wrote:
> I have this statically compiled KHTML that i want to link against.
> 
> Could someone please tell me how to do it in the .pro file?

As documented in the qmake manual, use

LIBS += /path/to/khtml.a

Andreas

-- 
 [ signature omitted ]