Hello. I am trying to make a program showing a simple compass in Qt. I installed qwt 6.0.0 successfully (i think. did make and make install without any errors).
Now I started a new qt GUI project in qt creator. I added the following lines to the *.pro file:
INCLUDEPATH += C:\qwt-6.0.0\src
LIBS += -L"./libs" \
C:\qwt-6.0.0\lib\libqwt.a \
C:\qwt-6.0.0\lib\libqwtmathml.a
I then added #include <qwt_compass.h> to mainwindow.h
In the mainwindow constructor i added a compass:
QwtCompass *compass;
compass = new QwtCompass(this);
The program compiles fine (i use the release build), but it will not run. If i remove the "new compass"-line it runs just fine. Anyone knows what I did wrong?
Really appreciate any help!![]()
Bookmarks