I am trying to link QCustomPlot with my own app,
I do have
find_package(Qt5 COMPONENTS REQUIRED Core Network Widgets Concurrent PrintSupport Test)
with no message

in the CMake file of my program. If I do not include
# Qt5::PrintSupport

then I receive the error message

~/3rdParty/QCustomPlot/qcustomplot.cpp:14537: undefined reference to `QPrinter::setOutputFileName(QString const&)'
if I uncomment it, CMake claims that
Target "ScQtSimBase_GUI" links to target "Qt5::PrintSupport" but the target was not found.

What do I wrong?