I have added that line to glwidget.h but i'm still getting call to constructor GLWidget w; is ambigous

main.cpp

Qt Code:
  1. GLWidget w;
  2. w.show();
To copy to clipboard, switch view to plain text mode 
on the GLWidget w; line