There is an issue with building default QT project after adding QcustomPlot library.

21:11:20: Выполняются этапы для проекта NefClass...
21:11:20: Настройки не изменились, этап qmake пропускается.
21:11:21: Запускается: «/usr/bin/make»
/Users/igorvarga/Qt/5.9.1/clang_64/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/Users/igorvarga/Qt/5.9.1/clang_64/mkspecs/macx-clang -I/Users/igorvarga/NefClass -I/Users/igorvarga/Qt/5.9.1/clang_64/lib/QtWidgets.framework/Headers -I/Users/igorvarga/Qt/5.9.1/clang_64/lib/QtGui.framework/Headers -I/Users/igorvarga/Qt/5.9.1/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include -F/Users/igorvarga/Qt/5.9.1/clang_64/lib ../NefClass/qcustomplot.h -o moc_qcustomplot.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.10 -Wall -W -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../NefClass -I. -I../Qt/5.9.1/clang_64/lib/QtWidgets.framework/Headers -I../Qt/5.9.1/clang_64/lib/QtGui.framework/Headers -I../Qt/5.9.1/clang_64/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I../Qt/5.9.1/clang_64/mkspecs/macx-clang -F/Users/igorvarga/Qt/5.9.1/clang_64/lib -o moc_qcustomplot.o moc_qcustomplot.cpp
In file included from moc_qcustomplot.cpp:9:
./../NefClass/qcustomplot.h:2186:16: warning: 'mousePressEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual void mousePressEvent(QMouseEvent *event, const QVariant &details);
^
./../NefClass/qcustomplot.h:746:16: note: overridden virtual function is here
virtual void mousePressEvent(QMouseEvent *event, const QVariant &details);
^
./../NefClass/qcustomplot.h:2187:16: warning: 'mouseMoveEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual void mouseMoveEvent(QMouseEvent *event, const QPointF &startPos);
^
./../NefClass/qcustomplot.h:747:16: note: overridden virtual function is here
virtual void mouseMoveEvent(QMouseEvent *event, const QPointF &startPos);
^
./../NefClass/qcustomplot.h:2188:16: warning: 'mouseReleaseEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual void mouseReleaseEvent(QMouseEvent *event, const QPointF &startPos);
^
./../NefClass/qcustomplot.h:748:16: note: overridden virtual function is here
virtual void mouseReleaseEvent(QMouseEvent *event, const QPointF &startPos);
^
./../NefClass/qcustomplot.h:2189:16: warning: 'wheelEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual void wheelEvent(QWheelEvent *event);
^
./../NefClass/qcustomplot.h:750:16: note: overridden virtual function is here
virtual void wheelEvent(QWheelEvent *event);
^
./../NefClass/qcustomplot.h:3332:18: warning: 'selectTest' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
virtual double selectTest(const QPointF &pos, bool onlySelectable, QVariant *details=0) const = 0;
^
./../NefClass/qcustomplot.h:720:18: note: overridden virtual function is here
virtual double selectTest(const QPointF &pos, bool onlySelectable, QVariant *details=0) const;
^
5 warnings generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.10 -Wl,-rpath,@executable_path/Frameworks -Wl,-rpath,/Users/igorvarga/Qt/5.9.1/clang_64/lib -o NefClass.app/Contents/MacOS/NefClass main.o mainwindow.o fuzzyneuralnetwork.o gauss.o rule.o qcustomplot.o moc_mainwindow.o moc_qcustomplot.o -F/Users/igorvarga/Qt/5.9.1/clang_64/lib -framework QtWidgets -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework OpenGL -framework AGL
Undefined symbols for architecture x86_64:
"QPrinter::setColorMode(QPrinter::ColorMode)", referenced from:
QCustomPlot::savePdf(QString const&, int, int, QCP::ExportPen, QString const&, QString const&) in qcustomplot.o
"QPrinter::setOutputFormat(QPrinter::OutputFormat)", referenced from:
QCustomPlot::savePdf(QString const&, int, int, QCP::ExportPen, QString const&, QString const&) in qcustomplot.o
"QPrinter::setOutputFileName(QString const&)", referenced from:
QCustomPlot::savePdf(QString const&, int, int, QCP::ExportPen, QString const&, QString const&) in qcustomplot.o
"QPrinter::QPrinter(QPrinter::PrinterMode)", referenced from:
QCustomPlot::savePdf(QString const&, int, int, QCP::ExportPen, QString const&, QString const&) in qcustomplot.o
"QPrinter::~QPrinter()", referenced from:
QCustomPlot::savePdf(QString const&, int, int, QCP::ExportPen, QString const&, QString const&) in qcustomplot.o
"QPrinter::printEngine() const", referenced from:
QCustomPlot::savePdf(QString const&, int, int, QCP::ExportPen, QString const&, QString const&) in qcustomplot.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [NefClass.app/Contents/MacOS/NefClass] Error 1
21:11:25: Процесс «/usr/bin/make» завершился с кодом 2.
Ошибка при сборке/установке проекта NefClass (комплект: Desktop Qt 5.9.1 clang 64bit)
Во время выполнения этапа «Make»