I can able to generate a slider using Qwt .

this is my code for ticks in slider

QList< double > ticks[ QwtScaleDiv::NTickTypes ];
ticks[ QwtScaleDiv::MajorTick ] << 1.2 << 2 << 2.8 << 4<< 5.6 << 8 << 11 << 16 << 22;
mySlider1->setScale( QwtScaleDiv( 22, 0, ticks ) );
mySlider1->setLowerBound(22);
mySlider1->setUpperBound(1.2);

so from this code the distance between the two ticks are not equal.

But i need the distance between the two ticks to be same.

How can i generate a slider with distance between the two ticks to be same