slider is already a pointer, e.g. remove the '&'
connect( slider, SIGNAL((slider->valueChanged())), this, SLOT(setValue(double)) );
Edit: This won't work, since the signal has no argument.
Rename the setValue(double) to setValue() and get the value from the slider with slider->value().