undefined reference to QtColorPicker
Hi,
I've compiled QtColorPicker on Windows.
(http://qt.nokia.com/products/appdev/.../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
Re: undefined reference to QtColorPicker
I guess you have forget to include the header file. Probably something like
Code:
#include "qtcolorpicker.h"
Re: undefined reference to QtColorPicker
and add to your .pro file:
Code:
LIBS += -L/path/to/you/library -lnameoflibrary