Your screenshot says you used "QcustomPlot" as the class name, but the class name is "QCustomPlot"

Cheers,
_