For someone who uses Qt or FLTK

I did exactly as I used to do when I was using GLUT, but lights don’t work! Is there something special to be done when I want to use Lights in Qt openGl windows?