title: {ctor} is not a member of <BaseClass>
body: <p>I Have a baseclass, called GLObject, with the following header:</p>
  
  <pre><code>class GLObject{
      public:
          GLObject(float width = 0.0, float height = 0.0, float depth = 0.0, 
                   float xPos= 0.0, float yPos = 0.0, float zPos =0.0, 
                   float xRot =0.0, float yRot = 0.0, float zRot = 0.0);
      ... //Other methods etc
  };
  </code></pre>
  
  <p>And a CPP:</p>
  
  <pre><code>GLObject::GLObject(float width, float height, float depth, 
                      float xPos, float yPos, float zPos, 
                      float xRot, float yRot, float zRot){
      this-&gt;xPos = xPos;
      this-&gt;yPos = yPos;
      this-&gt;zPos = zPos;
      this-&gt;xRot = xRot;
      this-&gt;yRot = yRot;
      this-&gt;zRot = zRot;
      this-&gt;width = width;
      this-&gt;height = height;
      this-&gt;depth = depth;
  }
  </code></pre>
  
  <p>Next up I have a derived class:
  Header:</p>
  
  <pre><code>class GLOColPiramid : public GLObject
  {
  public:
      GLOColPiramid(float width, float height, float depth, float xPos = 0.0, float yPos = 0.0, float zPos = 0.0, float xRot = 0.0, float yRot = 0.0, float zRot = 0.0);
      ...
  };
  </code></pre>
  
  <p>cpp file</p>
  
  <pre><code>GLOColPiramid::GLOColPiramid(float width, float height, float depth, float xPos, float yPos, float zPos, float xRot, float yRot, float zRot) : GLObject::GLObject(width, height, depth, xPos,yPos,zPos,xRot,yRot,zRot)
  {
  
  }
  </code></pre>
  
  <p>This gives me an error:</p>
  
  <blockquote>
    <p>glocolpiramid.cpp:4: error: C2039: '{ctor}' : is not a member of
    'GLObject'</p>
  </blockquote>
  
  <p>why?</p>
  
  <p>I am using Qt 4.8.4 with the MSVC2010 32 bit compiler</p>