[Development] Error in compilation while compiling qt5 with qt3d

Arjun Das arjundas.27586 at gmail.com
Thu Jan 22 12:52:43 CET 2015


Thank you Sean and. Svenn-Arne.
Qt3d is good to go, However i have hit upon a problem with compilation of
qtsvg dev branch. This might be a very noobish question.
but I am not getting a good solution for this in "GOOGLE". This is the
error :

*D:\qt5\qtsvg\src\svg\qsvgtinydocument.cpp(48) : fatal error C1083: Cannot
open include file: 'zlib.h': No such file or directory*

I can see that zlib.h is there. but somehow its not getting picked up.So, I
have still not been able to compile qt5 with these included.

Thanks

Regards
Arjun


On Thu, Jan 22, 2015 at 3:11 PM, Sean Harmer <sean.harmer at kdab.com> wrote:

> Hi,
>
> aha, you've been pipped to the post again. Peppe added those to qtbase a
> couple of days ago. Please git pull in qtbase and build that. Then try
> building Qt3D again. Welcome to the bleeding edge :)
>
> Cheers,
>
> Sean
>
> On Thursday 22 January 2015 15:00:49 Arjun Das wrote:
> > Hi,
> >
> > I Checked out dev branch of qt and dev branch of qt3d as per the previous
> > email. I have given the following configuration:
> >
> > configure -debug-and-release -opensource -platform win32-msvc2012 -opengl
> > desktop -nomake examples -nomake tests
> >
> > nmake
> >
> > The following error occurs after a long time of compilation of all other
> > modules.Once it reaches qt3d:
> > backend\rendertexture.cpp(248) : error C2039:
> 'TextureComparisonOperators'
> >
> > : is not a member of 'QOpenGLTexture'
> >
> > d:\qt5\qtbase\include\qtgui\../../src/gui/opengl/qopengltexture.h(51) :
> see
> > declaration of 'QOpenGLTexture'
> > backend\rendertexture.cpp(248) : error C2065:
> 'TextureComparisonOperators'
> >
> > : undeclared identifier
> >
> > backend\rendertexture.cpp(249) : error C2039: 'setComparisonFunction' :
> is
> > not a member of 'QOpenGLTexture'
> >
> > d:\qt5\qtbase\include\qtgui\../../src/gui/opengl/qopengltexture.h(51) :
> see
> > declaration of 'QOpenGLTexture'
> > backend\rendertexture.cpp(249) : error C2039: 'ComparisonFunction' : is
> not
> > a member of 'QOpenGLTexture'
> >
> > d:\qt5\qtbase\include\qtgui\../../src/gui/opengl/qopengltexture.h(51) :
> see
> > declaration of 'QOpenGLTexture'
> > backend\rendertexture.cpp(249) : error C2061: syntax error : identifier
> > 'ComparisonFunction'
> > backend\rendertexture.cpp(250) : error C2039: 'setComparisonMode' : is
> not
> > a member of 'QOpenGLTexture'
> >
> > d:\qt5\qtbase\include\qtgui\../../src/gui/opengl/qopengltexture.h(51) :
> see
> > declaration of 'QOpenGLTexture'
> > backend\rendertexture.cpp(250) : error C2039: 'ComparisonMode' : is not a
> > member of 'QOpenGLTexture'
> >
> > d:\qt5\qtbase\include\qtgui\../../src/gui/opengl/qopengltexture.h(51) :
> see
> > declaration of 'QOpenGLTexture'
> > backend\rendertexture.cpp(250) : error C2061: syntax error : identifier
> > 'ComparisonMode'
> >
> > Thanks
> >
> > Regards
> > Arjun
> >
> > On Wed, Jan 21, 2015 at 12:31 AM, Sean Harmer <sean.harmer at kdab.com>
> wrote:
> > > On Tuesday 20 January 2015 22:39:09 Arjun Das wrote:
> > > > Hi,
> > > >
> > > > I am a beginner to QT framework, however i have solved all errors
> till
> > >
> > > now.
> > >
> > > > But I am stuck on this one. Compilation of qt5 with qt3d module is
> > >
> > > failing
> > >
> > > > for me in windows. I have given the following configuration:
> > > Be sure to get a recent checkout of the dev branch of qtbase. The
> metatype
> > > declaration of QSurface was added fairly recently. Qt 5.4 is not new
> > > enough.
> > >
> > > Cheers,
> > >
> > > Sean
> > > --
> > > Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
> > > Klarälvdalens Datakonsult AB, a KDAB Group company
> > > Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
> > > KDAB - Qt Experts - Platform-independent software solutions
>
> --
> Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
> Klarälvdalens Datakonsult AB, a KDAB Group company
> Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
> KDAB - Qt Experts - Platform-independent software solutions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150122/d82d1be2/attachment.html>


More information about the Development mailing list