What about setting a margin between the end of the scales and the canvas border: see QwtPlotLayout::setCanvasMargin().

The margin should be larger than half of the width of your tick labels. You could rotate the tick labels, so that you only need half of the font height - or something in between like in the cpuplot example.

Uwe