PDA

View Full Version : How to add dependant libraries automatically.



Intaek Lim
19th March 2007, 05:05
Hello,

These days I write a simple file server program based on QCoreApplication with QT4. I use other libraries like cppunit but i don't know how to add these libraries information to Makefile automatically. (adding '-lcppunit' and '-lQtNetwork' is really bothersome job)

I guess there are some options for adding other libraries in qmake but I don't know what it is. Do I add dependant library information manually every time I 'qmake' ?

Thanks in advance.

Intaek

wysota
19th March 2007, 09:41
LIBS += -lcppunit
QT += network