Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Unsolved How build Qt3DStudio/Runtime from sources.

    Tools
    2
    5
    568
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alvaro Denis
      Alvaro Denis 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: studio3d

      if 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 1

      Someone 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

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @Alvaro Denis last edited by

        @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?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • Alvaro Denis
          Alvaro Denis 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?

          jsulm 1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @Alvaro Denis last edited by

            @Alvaro-Denis May be this can help: https://forum.qt.io/topic/84363/project-error-unknown-module-s-in-qt-studio3d/5

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            Alvaro Denis 1 Reply Last reply Reply Quote 0
            • Alvaro Denis
              Alvaro Denis @jsulm 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 Reply Last reply Reply Quote 0
              • First post
                Last post