[Development] Qt3D wip/newapi branch on Android
Ayberk Özgür
ayberk.ozgur at epfl.ch
Mon Oct 27 13:52:38 CET 2014
Dear Sean,
Thank you, this roadmap helps us out significantly in terms of timing
our stuff. If I have the time, I'll definitely try to help.
Thank you and all the best
On 27. 10. 14 13:47, Sean Harmer wrote:
> On Monday 27 Oct 2014 13:35:45 Ayberk Özgür wrote:
>> 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?
> We haven't tested on android yet and as you can see it's trying to initialize
> the desktop OpenGL 3.2 based helper class for some reason. Paul is looking
> into issues on running on ES 2 based systems. Once that is working making it
> work on Android should not be difficult.
>
> I'd expect basic support before Christmas for Android and also hopefully iOS
> once James is back from the US DevDays.
>
> Of course if you want to help solving these issues then you're more than
> welcome to help out :)
>
> Cheers,
>
> Sean
>
--
Ayberk Özgür, Doctoral Researcher
Robotics Group, CHILI Laboratory, EPFL
www.ayberkozgur.com
More information about the Development
mailing list