How build Qt3DStudio/Runtime from sources.
-
wrote on 3 Oct 2018, 16:30 last edited by
Hello I am trying to build qt3druntime, when I load the project in qt creator I have an error from qmake:
[Inexact] Project ERROR: Unknown module(s) in QT: studio3dif I run the same qmake from CLI I have not error from qmake but the build fails:
qt3druntime/src/runtime/aping/q3dsstudio3dengine.cpp:491:70: error: ‘OGLTextureRead’ is not a member of ‘Qt3DRender::Render::ResourceAccessor’
ra->accessResource(Qt3DRender::Render::ResourceAccessor::OGLTextureRead, layer.textureNodeId, (void**) &tex, nullptr);
^~~~~~~~~~~~~~
make[2]: *** [Makefile:14888: .obj/q3dsstudio3dengine.o] Error 1Someone know where I can find I guide to build qt3dstudio + qt3runtime?
PD:
Linux hostname 4.16.0-2-amd64 #1 SMP Debian 4.16.16-2 (2018-06-22) x86_64 GNU/Linux
QMake version 3.1
Using Qt version 5.11.1 in /opt/Qt5.11.1/5.11.1/gcc_64/lib -
Hello I am trying to build qt3druntime, when I load the project in qt creator I have an error from qmake:
[Inexact] Project ERROR: Unknown module(s) in QT: studio3dif I run the same qmake from CLI I have not error from qmake but the build fails:
qt3druntime/src/runtime/aping/q3dsstudio3dengine.cpp:491:70: error: ‘OGLTextureRead’ is not a member of ‘Qt3DRender::Render::ResourceAccessor’
ra->accessResource(Qt3DRender::Render::ResourceAccessor::OGLTextureRead, layer.textureNodeId, (void**) &tex, nullptr);
^~~~~~~~~~~~~~
make[2]: *** [Makefile:14888: .obj/q3dsstudio3dengine.o] Error 1Someone know where I can find I guide to build qt3dstudio + qt3runtime?
PD:
Linux hostname 4.16.0-2-amd64 #1 SMP Debian 4.16.16-2 (2018-06-22) x86_64 GNU/Linux
QMake version 3.1
Using Qt version 5.11.1 in /opt/Qt5.11.1/5.11.1/gcc_64/lib@Alvaro-Denis said in How build Qt3DStudio/Runtime from sources.:
same qmake
Are you really sure it's same qmake? Do you use absolute path in CLI?
-
wrote on 9 Oct 2018, 18:40 last edited by
I just was installed qt framework in /opt /opt/Qt5.11.1
so it is in/opt/Qt5.11.1/5.11.1/gcc_64/bin/qmake
Yes I use absolute paths in CLI
Any suggestion?
-
I just was installed qt framework in /opt /opt/Qt5.11.1
so it is in/opt/Qt5.11.1/5.11.1/gcc_64/bin/qmake
Yes I use absolute paths in CLI
Any suggestion?
@Alvaro-Denis May be this can help: https://forum.qt.io/topic/84363/project-error-unknown-module-s-in-qt-studio3d/5
-
@Alvaro-Denis May be this can help: https://forum.qt.io/topic/84363/project-error-unknown-module-s-in-qt-studio3d/5
wrote on 11 Oct 2018, 15:30 last edited by@jsulm I am not shure if it thread can help me, but my compiler say:
"can not find this(Qt3DRender::Render::ResourceAccessor::OGLTextureRead
) symbol"qt3dstudio/qt3druntime/src/runtime/aping/q3dsstudio3dengine.cpp:491:70: error: ‘OGLTextureRead’ is not a member of ‘Qt3DRender::Render::ResourceAccessor’
ra->accessResource(Qt3DRender::Render::ResourceAccessor::OGLTextureRead, layer.textureNodeId, (void**) &tex, nullptr);if I look here, i should find the
Qt3DRender::Render::ResourceAccessor::OGLTextureRead
symbol here?
1/5