Le 17/12/2013 10:21, Thiago Macieira a écrit :
> On terça-feira, 17 de dezembro de 2013 09:49:48, Yves Bailly wrote:
>> (1)
>> When I try to build this program, I get a link error:
>> gl_widget.obj : error LNK2019: symbole externe non résolu "protected: bool
>> __cdecl QAbstractOpenGLFunctions::isInitialized(void)const "
>> (?isInitialized@QAbstractOpenGLFunctions@@IEBA_NXZ) référencé dans la
>> fonction "protected: virtual void __cdecl Gl_Widget::initializeGL(void)"
>> (?initializeGL@Gl_Widget@@MEAAXXZ)
>
> Yes: you're calling a function that is not public. Stop calling
> isInitialized().

It is protected, so "public" for any derived class... if it's not
intended to be used at all, then maybe it might be better to remove
it entirely?

-- 
      /- Yves Bailly - Software developer   -\
      \- Sescoi R&D  - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to