QCustomPlot Discussion and Comments

QPainter "file not found" & CMakeReturn to overview

So I'm trying to use QCustomPlot in a CMake project and I'm getting "QPainter: file not found."

I've tried using find_package like so:
find_package(Qt6 COMPONENTS Core Widgets PrintSupport Gui REQUIRED)

and the target_link_libraries set like this:
target_link_libraries(ProjectName Qt6::Core Qt6::Widgets Qt6::PrintSupport Qt6::Gui SQLite3 "-framework CoreFoundation")

But not dice. Is there something I've missed?

Immediately after posting this, I realized I was compiling a different target. D'oh!