[Development] Qt3D wip/newapi branch on Android

Ayberk Özgür ayberk.ozgur at epfl.ch
Mon Oct 27 13:35:45 CET 2014


Dear All,

I succeeded in compiling the wip/newapi branch with today's 5.4.0 
snapshot on desktop, but on Android I'm getting the following errors 
(actually a much longer list):

/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3.cpp: In 
member function 'virtual void 
Qt3D::Render::QGraphicsHelperGL3::initializeHelper(QOpenGLContext*, 
QAbstractOpenGLFunctions*)':
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3.cpp:66:64: 
error: invalid static_cast from type 'QAbstractOpenGLFunctions*' to type 
'QOpenGLFunctions_3_2_Core*'
      m_funcs = static_cast<QOpenGLFunctions_3_2_Core*>(functions);
                                                                 ^
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3.cpp:67:28: 
error: invalid use of incomplete type 'class QOpenGLFunctions_3_2_Core'
      const bool ok = m_funcs->initializeOpenGLFunctions();
                             ^
In file included from 
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3.cpp:44:0:
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3_p.h:52:7: 
error: forward declaration of 'class QOpenGLFunctions_3_2_Core'
  class QOpenGLFunctions_3_2_Core;
        ^
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3.cpp:72:31: 
error: invalid use of incomplete type 'class 
QOpenGLExtension_ARB_tessellation_shader'
          m_tessFuncs.reset(new QOpenGLExtension_ARB_tessellation_shader);
                                ^
In file included from 
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3.cpp:44:0:
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3_p.h:53:7: 
error: forward declaration of 'class 
QOpenGLExtension_ARB_tessellation_shader'
  class QOpenGLExtension_ARB_tessellation_shader;
        ^
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3.cpp:73:20: 
error: invalid use of incomplete type 'class 
QOpenGLExtension_ARB_tessellation_shader'
          m_tessFuncs->initializeOpenGLFunctions();
                     ^
In file included from 
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3.cpp:44:0:
/usr/local/src/qt3d-wip-newapi/src/render/backend/qgraphicshelpergl3_p.h:53:7: 
error: forward declaration of 'class 
QOpenGLExtension_ARB_tessellation_shader'
  class QOpenGLExtension_ARB_tessellation_shader;

Should I expect any Android functionality at this point, or is it 
planned for the future and not available now?

Thank you!

All the best

-- 
Ayberk Özgür, Doctoral Researcher
Robotics Group, CHILI Laboratory, EPFL
www.ayberkozgur.com




More information about the Development mailing list