I keep having an issue with adding QCustomPlot to the project complied with CMake.
When I build, I got this issue:
qcustomplot.h:730: error: ‘signals’ does not name a type; did you mean ‘signgam’?
I included both Widgets and PrintSupport in the CMakeLists and it looks that they are properly loaded.
find_package(Qt5 COMPONENTS Widgets PrintSupport REQUIRED)
target_link_libraries(GUI Qt5::Widgets Qt5::PrintSupport)
Do you have any idea on how to solve it?