Sorry if this question is silly but I was using an old version of customPlot (Date: 13.09.16,Version: 2.0.0-beta)
and to change the name and the font of the label I used lines like :
colorScale->axis()->setLabel(QString); (Ok fot this one, I use colorScale->setLabel() and it works)
this was working well.
But I changed for the new version (25.06.18, Version: 2.0.1) it seems that all the lines with colorScale->axis() make my program crash and I don't find in the documentation a function to do it in an other way.