[Interest] qt 5.7 qt3d scene editor

Александр Соломин solomin8273 at gmail.com
Wed Mar 23 19:40:09 CET 2016


Hello. I try to build qt-labs-qt3d-editor (
https://github.com/qtproject/qt-labs-qt3d-editor), but cannot.
When I start buildind I'm having errors. Could you please tell what's wrong?


..\qt-labs-qt3d-editor-master\src\editorviewportitem.cpp: In constructor
'FrameBufferObjectRenderer::FrameBufferObjectRenderer(EditorViewportItem*,
Qt3DCore::QAspectEngine*, Qt3DRender::QRenderAspect*,
Qt3DInput::QInputAspect*, Qt3DLogic::QLogicAspect*)':

..\qt-labs-qt3d-editor-master\src\editorviewportitem.cpp:90:93: error: no
matching function for call to
'Qt3DRender::QForwardRenderer::setSurface(QObject*)'

m_item->scene()->renderer()->setSurface(reinterpret_cast<QObject
*>(saver.surface()));

^

..\qt-labs-qt3d-editor-master\src\editorviewportitem.cpp:90:93: note:
candidate is:

In file included from
..\..\Qt\Qt5.7.0\qt-everywhere-opensource-src-5.7.0\qt3d\include/Qt3DRender/qforwardrenderer.h:1:0,

from
..\..\Qt\Qt5.7.0\qt-everywhere-opensource-src-5.7.0\qt3d\include/Qt3DRender/QForwardRenderer:1,

from ..\qt-labs-qt3d-editor-master\src\editorviewportitem.cpp:43:

..\..\Qt\Qt5.7.0\qt-everywhere-opensource-src-5.7.0\qt3d\include/Qt3DRender/../../src/render/defaults/qforwardrenderer.h:75:10:
note: void Qt3DRender::QForwardRenderer::setSurface(QSurface*)

void setSurface(QSurface * surface);

^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160323/ed629ba1/attachment.html>


More information about the Interest mailing list