Your GLWidget class shows two constructors in its header:
Qt Code:
GLWidget(); // and To copy to clipboard, switch view to plain text mode
These two are indistinguishable to the compiler when used as you are doing ("GLWidget w;"). Get rid of the first constructor (GLWidget()) and the warning will go away.




Reply With Quote

Bookmarks