I just can't seem to get qcustomPlot to work in QT5.1.1
Always get the error message: "C1083:CAnnot open include file:'QPrinter': No such file or directory"
I have read multiple threads on the issue and tried the followings:
add: DEFINES +=QT_DISABLE_DEPRECATED_BEFORE=0 to .pro
and add #define QT_DISABLE_DEPRECAED_BEFORE QT_VERSION_CHECK(0,0,0)
Instead of using #include <QPrinter> use <QtPrintSupport\qprinter.h>
add QT += printsupport to .pro
I am pretty sure I have tried everything that has been recommended in this and other forums. You're my last chance. Please help me.