[Development] Error in compilation while compiling qt5 with qt3d

Arjun Das arjundas.27586 at gmail.com
Thu Jan 22 10:30:49 CET 2015


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150122/dbf18919/attachment.html>


More information about the Development mailing list