[Qt-interest] qwt example
Ben Swerts
benswerts at telenet.be
Sun May 3 13:30:52 CEST 2009
Hi Stefanos,
I didn't follow the thread but it seems the build process finds the header
files as you only have linker errors.
The linker doesn't find the library files. To find them you'll have to add
LIBS += -L/Users/santaris/qwt-5.2/lib -lqwt
to the .pro file. The INCLUDEPATH line only helps to find the header files,
not the library files. I hope that helps.
Greets,
Ben
> The exact path of the qwt files and libs is:/Users/santaris/qwt-5.2.
>
> I write this on my .pro file but it doesn't work
> [code]
> INCLUDEPATH += /Users/santaris/qwt-5.2/lib
> LIBS+= -lqwt
>
> [/code]
>
> and nothing else and i have the following error:
> :-1: error: collect2: ld returned 1 exit status
>
> Someone help me.How could i use the qwt libraries in qt Creator?
More information about the Qt-interest-old
mailing list