QWT doesnt show any windows
hey,
i am new to qwt and have the problem, that if i run a qwt example it just terminates and doesnt show any windows.
im using eclipse, qt4.3, qwt5.2 and mingw under winXP.
that is what i tried:
i compiled qwt and got the libgwt5.a and the qwt.dll. The i created a new eclipse project and just copy/pasted the simple_plot example from the qwt examples folder.
i added the qwt source folder
"C:\Develop\qwt-5.2.0\src"
in the projects include paths and added
INCLUDEPATH += C:\Develop\qwt-5.2.0\src
LIBS += C:\Develop\qwt-5.2.0\lib\libqwt5.a
to my .pro file.
it doesnt give me any compile errors, but it doesnt show any widget-windows either.
i guess im doing sth wrong here, maybe someonce can tell me how to setup a windows eclipse for qwt properly?
thanks for your help!
lutz
Re: QWT doesnt show any windows
Sounds like the traditional debug vs. release libraries mix up problem. Make sure to compile involved projects in the same mode.
Re: QWT doesnt show any windows
hey jpn,
it doesnt work sadly.. neither in debug or release mode. and the debug mode doesnt give any usefull information either. i guess my .pro file isnt set up right. i dont really know how to link qwt properly.
Is noone using eclipse and qwt under windows? i would be really happy about a step-by-step installation guide cause the qwt lib would really save me a lot of work! or is there maybe a precompiled win-qwt-package?
Re: QWT doesnt show any windows
ah crap! it works now.. i had to link to the libqwt.a instead of the libqwt5.a.
thank you! :)
Re: QWT doesnt show any windows
Hi Cal,
I am having the same problem... but I couldn't find the libqwt.a I only have libqwt5.a... Also my examples are compiling fine but does show any executable file..
I would appreciate your help.
Cheers,
Re: QWT doesnt show any windows
hey,
sadly i dont remember how i did it. i remember there is an file called INSTALL in the package and i compiled it using the instructions for "C) Win32/MinGW Qt4". i think that did it for me.
i hope that helps you...