[Qt-interest] Fwd: Fwd: Fwd: Fwd: Fwd: Fwd: qmake and staticlibissue

Farid Derradji farid.derradji at ITWM.fraunhofer.de
Wed Apr 22 08:36:36 CEST 2009


>> #include "GLRender.h"
>> ...
>> **********************************'
>> GLWidget.cpp: In member function ‘void GLWidget::RenderWithGL()’:
>> GLWidget.cpp:278: error: invalid use of incomplete type ‘struct  
>> GLRender’

Hello Sajjad,

have you checked whether Class GLRender is embedded in a namespace ?

Example:

namespace nm
{
  ...
  class A
  {
    ...
  };
  ...
}

then it would be necessary to specify nm::A or to declare that you are
using name space 'nm' at the beginning of your source code.


Regards
Farid



More information about the Qt-interest-old mailing list