PDA

View Full Version : undefined reference to QtColorPicker



jonks
26th December 2009, 09:14
Hi,

I've compiled QtColorPicker on Windows.
(http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Widgets/qtcolorpicker)

I know that QtColorPicker build creates a ".a" and a dll file.

I now get "undefined reference to QtColorPicker" when I make my application that uses QtColorPicker.
I think that I need to get QT Creator to link my app with the '.a' file, but I don't know how.

What should I do? :confused:

Thanks
J

Lykurg
26th December 2009, 09:16
I guess you have forget to include the header file. Probably something like
#include "qtcolorpicker.h"

faldzip
26th December 2009, 21:43
and add to your .pro file:


LIBS += -L/path/to/you/library -lnameoflibrary