[Interest] Qt 5.8.0 RC build under windows

Prav pr12og2 at programist.ru
Wed Jan 18 22:40:22 CET 2017


Hello, Thiago.

> -no-rtti is not tested and clearly someone broke it. I've submitted a change
> to remove that option from configure starting with Qt 5.8.1.
I  was  thinking  that without RTTI compiled programs became lighter and faster (but never saw values of how much)
As I can see Qt tries to be lighter now to be used in embedded systems. You still think that total remove of -no-rtti flag is OK in this case?
And why Qt now needs RTTI? Qt 5.7.0 was building fine without RTTI. What features added to 5.8.0 made RTTI mandatory I wonder?



> Please delete your build and reconfigure without that option. If you were not
> using a shadow build, delete all Makefiles before configuring again.
I already did that after you mentioned RTTI first time. And I already shared new error in third message of this mail-thread )

But OK. I can repeat it here again. First error is in :
A:\qt\qtdeclarative\src\plugins\scenegraph\d3d12\Makefile.Debug [.obj\debug\qsgd3d12shadereffectnode.obj] Error 2
and it is :
qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(544) : error C2061: syntax error : identifier 'textureProviders'

after that there some more errors in same file (if it matters):

qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(545) : error C2446: '!=' : no conversion from 'QSGTextureProvider *&(__cdecl *)(void)' to 'QSGTextureProvider *'
        There is no context in which this conversion is possible
qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(545) : error C2040: '!=' : 'QSGTextureProvider *' differs in levels of indirection from 'QSGTextureProvider *&(__cdecl *)(void)'
qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(546) : warning C4551: function call missing argument list
qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(548) : error C2665: 'QObject::disconnect' : none of the 5 overloads could convert all the argument types
        qtbase\include\qtcore\../../src/corelib/kernel/qobject.h(333): could be 'bool QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &)'
        qtbase\include\qtcore\../../src/corelib/kernel/qobject.h(331): or       'bool QObject::disconnect(const QObject *,const char *,const QObject *,const char *)'
        while trying to match the argument list '(QSGTextureProvider *&(__cdecl *)(void), const char *, QSGD3D12ShaderEffectNode *, const char *)'
qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(550) : error C2665: 'QObject::disconnect' : none of the 5 overloads could convert all the argument types
        qtbase\include\qtcore\../../src/corelib/kernel/qobject.h(333): could be 'bool QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &)'
        qtbase\include\qtcore\../../src/corelib/kernel/qobject.h(331): or       'bool QObject::disconnect(const QObject *,const char *,const QObject *,const char *)'
        while trying to match the argument list '(QSGTextureProvider *&(__cdecl *)(void), const char *, QSGD3D12ShaderEffectNode *, const char *)'
qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(564) : error C2659: '=' : function as left operand


Does anyone had such error before and knows there it comes from?




More information about the Interest mailing list