QCustomPlot Discussion and Comments

Qt 5.11 compilation issueReturn to overview

Hi,

just installed Qt 5.11 with Mingw53 32 bits on Winodws 7 64bits.

Getting errors below ...any ideas why ?

thanks,

Michael

C:\Qt\5.11\5.11.0\mingw53_32\lib\libQt5Gui.a C:\Qt\5.11\5.11.0\mingw53_32\lib\libQt5Core.a
release/qcustomplot.o:qcustomplot.cpp:(.text+0x5fb21): undefined reference to `_imp___ZN8QPrinterC1ENS_11PrinterModeE'
release/qcustomplot.o:qcustomplot.cpp:(.text+0x5fb33): undefined reference to `_imp___ZN8QPrinter17setOutputFileNameERK7QString'
release/qcustomplot.o:qcustomplot.cpp:(.text+0x5fb46): undefined reference to `_imp___ZN8QPrinter15setOutputFormatENS_12OutputFormatE'
release/qcustomplot.o:qcustomplot.cpp:(.text+0x5fb59): undefined reference to `_imp___ZN8QPrinter12setColorModeENS_9ColorModeE'
release/qcustomplot.o:qcustomplot.cpp:(.text+0x5fb65): undefined reference to `_imp___ZNK8QPrinter11printEngineEv'
release/qcustomplot.o:qcustomplot.cpp:(.text+0x5fdc8): undefined reference to `_imp___ZN8QPrinterD1Ev'
release/qcustomplot.o:qcustomplot.cpp:(.text+0x5ffae): undefined reference to `_imp___ZN8QPrinterD1Ev'

never mind, corrupted project file...working fine !

QT += printsupport solved the issue as stated here:
https://forum.qt.io/topic/66602/error-undefined-reference-to-_imp___zn8qprinterc1ens_11printermodee