View Full Version : How to link static libraries --- in .pro file settings?

7th January 2010, 16:38
Hi, all:

How can I setup the .pro file to make sure I can link with those static libraries?

For instance, in my case, my compilation gave me the following error message

cannot find -lutils

In fact, there is a
libutils.a right there.

What's in my .pro file is like:

LIBS += -L/usr/local/lib \
-L../utils/bin/debug \
-lutils \

Well, is
-lutils \ the right way to link static libraries?

How to link those static libraries produced by my own code?


7th January 2010, 17:39
sorry for my carelessness.

Linux is case sensitive. My fault.

Sorry again.