Hi,
I am trying something similar and having the smae problem. Basically, I want to have an attitude indicator in an application exactly like the qwt example. I have compiles qwt fine and have successfully compiled and run the samle with the attitude indicator, and added a dial to the ui.
When I try to add the attitude_indicator.cpp and .h files to the project (without using them) it will still compile but returns
exited with code -1073741819
exited with code -1073741819
To copy to clipboard, switch view to plain text mode
or
exited with code -1073741511
exited with code -1073741511
To copy to clipboard, switch view to plain text mode
Running gdb returns
Program received signal SIGSEGV, Segmentation Fault.
Program exited with code 0x30000000005
Program received signal SIGSEGV, Segmentation Fault.
Program exited with code 0x30000000005
To copy to clipboard, switch view to plain text mode
What could be causing this? This is my .pro file:
TARGET = Test1
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
attitude_indicator.cpp
HEADERS += mainwindow.h \
attitude_indicator.h
FORMS += mainwindow.ui
INCLUDEPATH += "C:\Qwt-5.2.0\include"
LIBS += -L"C:\Qwt-5.2.0\lib" \
-lqwt5
TARGET = Test1
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
attitude_indicator.cpp
HEADERS += mainwindow.h \
attitude_indicator.h
FORMS += mainwindow.ui
INCLUDEPATH += "C:\Qwt-5.2.0\include"
LIBS += -L"C:\Qwt-5.2.0\lib" \
-lqwt5
To copy to clipboard, switch view to plain text mode
Any ideas would be appreciated. Thanks
Bookmarks