Same issue, I have also got this cmake warning:
-- qmlplugindump failed for org.kde.quickcharts.
-- Could NOT find org.kde.quickcharts-QMLModule (missing: org.kde.quickcharts-QMLModule_FOUND)
The qml plugin 'QuickChartsplugin' is a dependency of 'project', but the
link target it defines (KF6::QuickChartsplugin) does not exist in the
current scope. The plugin will not be linked.