Quote Originally Posted by Thoosle View Post
Franco,

If you're using Qt4 then you need to look at the Qt4 docs, not Qt3. The QSlider constructor you show in your code is incorrect for Qt4. This is probably why it doesn't instantiate properly and why it works setting value after instantiation. QSlider has two constructors in Qt4 as follows:


QSlider ( QWidget * parent = 0 )

QSlider ( Qt::Orientation orientation, QWidget * parent = 0 )

try this link http://doc.trolltech.com/4.3/qslider.html
Thanks for the link.
I didn't see the reference to qt 3 .
Regards,
Franco