[Qt-interest] qwt example
Stefanos Antaris
santaris at csd.auth.gr
Sun May 3 11:48:07 CEST 2009
Matthias Pospiech wrote:
> Stefanos Antaris schrieb:
>> Can anyone give me an example of how to use qwt in my qt App.I mean
>> what do i have to write on the .pro file and how i call the header
>> files of the qwt on my Qt Creator.Do i have to make anything else
>> except of installing the qwt libraries on my PC?
>>
>
> Make sure your project finds the header files for qwt (setting of
> include path for headers).
> Add the qwt(d)5.lib file to your project (.pro file).
> Copy the qwt(d)5.dll into your directory of the binary.
>
> Hint: I never run "make install" for qwt.
>
> Write code that used qwt and compile...
>
> Matthias
>
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