I'm sorry, error was in
Qt Code:
  1. GLUquadricObj* q = new gluNewQuadric ();
To copy to clipboard, switch view to plain text mode 
,
I have to write
Qt Code:
  1. GLUquadricObj* q = gluNewQuadric ();
To copy to clipboard, switch view to plain text mode