Promoting widget to QGLWidget
I'm creating a simple gui project dropping a widdget(of type QWidget) into form.ui and then I want to promote it to QGLWidget. For some reason this class is not listed in the base class name list.
Also when I was creating a GLWidget class to inherit from QGLWidget I had to type its name in the base class field manually. It was not on that list either.
If anyone could please help me finding the reason why am I missing this class. I checked on the presence of QGLWidget.h in ../qt folder../ and it is there as it should be.
Also what tried was to manually write there the name of the class I want to promote my widget to (QGLWidget) and straight away after doing that I am getting an error saying:
" fatal error LNK2019: unresolved external symbo public: _cded GLWidget::GLWidget(class QObject *) ..........etc...."
" fatal error LNK1120: 1 unresolved externals"