OK it looks like it's got to do with the PRO file. This thread is very handy.
I've followed the suggestions in that thread and I'm still getting the same problem. My PRO file is:
#include( C:\Qt\qwt-5.2.0\examples\examples.pri )
include( C:\Qt\qwt-5.2.0\qwtconfig.pri )
TARGET = data_plot
HEADERS = \
data_plot.h
SOURCES = \
data_plot.cpp \
main.cpp
LIBS += C:\Qt\qwt-5.2.0\lib\qwt5.dll
INCLUDEPATH += C:\Qt\qwt-5.2.0\src
DEFINES += QWT_DLL
#include( C:\Qt\qwt-5.2.0\examples\examples.pri )
include( C:\Qt\qwt-5.2.0\qwtconfig.pri )
TARGET = data_plot
HEADERS = \
data_plot.h
SOURCES = \
data_plot.cpp \
main.cpp
LIBS += C:\Qt\qwt-5.2.0\lib\qwt5.dll
INCLUDEPATH += C:\Qt\qwt-5.2.0\src
DEFINES += QWT_DLL
To copy to clipboard, switch view to plain text mode
Is there anything obviously wrong with this? (The installation directory for Qwt is C:\Qt\qwt-5.2.0 )
Bookmarks