Important: Please read the Qt Code of Conduct -

Visual Studio 2013 and Qt3D module

  • Hello everyone,

    i'm not able to use the checkBox to add Qt3D module support to my visual studio Qt Projets (it's grayed, there is no tooltip), and i failed to find informations about this.
    Anyone can explain me why ?

    I use Qt 5.5 msvc 2013 64 bits, with visual studio 2013 and visual studio addin v1.2.5.
    (same problem with visual studio tools v 2.1.1)

  • @achard.ju

    I just tested with VS 2015 and Qt5.9 but the checkbox is grayed out also in the project creator wizard (QT VS tools).

    I'm also curious to find out why.

    In the docs I could find that only win32 is supported. are you on 64 bits?

    Qt 3D has the following support for platforms:
    Microsoft Windows (win32) - Supported

  • @Eddy said in Visual Studio 2013 and Qt3D module:

    Microsoft Windows (win32) - Supported


    I would say (win32) has to be seen in contrast to (arm) not in contrast to 64-bit.


  • @m.sue

    my bad : I already compiled a Qt3D app on my box,...
    Thanks for correcting me.

  • @achard.ju

    Maybe it's just not yet implemented in VS Tools yet: You can do it "by hand". Just add:

    QT += 3dcore 3drender 3dinput 3dextras

    to your .pro file. Depending on other things you use in your program, on WINDOWS, may need to add: LIBS += -lopengl32 as well.


  • There is no access to the .pro file, or i haven't found it.

    If it's not yet implemented, why is it not documented in this way anywhere ?

  • In VS15 I did it this way. I don't use the english version, so my translation can differ

    -right click on the project in the projext explorer
    -choose "configuration"/"C/C++"/"general"
    -edit the entry "additional Includes" and add:

  • Yes...and under Linker/Input corresponding "additional dependencies" i.e. *.lib-files.

    These are the entries that qmake generates when you add "QT += 3dcore 3drender 3dinput 3dextras 3dlogic" to your .pro-file.


  • Ok I will give this a try !

  • So ! I have created a new Qt5 Application Projet.
    I added these includes :
    (I don't have any Qt3DExtras folder here)
    I added these libs to the linker :
    (no Qt53DExtras.lib either here)

    And this code crash at launch.

    #include <QGuiApplication>
    #include <Qt3DRenderer/QWindow>
    int main(int argc, char *argv[])
        QGuiApplication a(argc, argv);
        Qt3D::QWindow view;;
        return a.exec();

    did i do something wrong ?

    The call stack by the way :

     	qwindowsd.dll!QWindowsGLContext::QWindowsGLContext(QOpenGLStaticContext * staticContext, QOpenGLContext * context)
     	qwindowsd.dll!QOpenGLStaticContext::createContext(QOpenGLContext * context)
     	qwindowsd.dll!QWindowsIntegration::createPlatformOpenGLContext(QOpenGLContext * context)
     	Qt53DRendererd.dll!Qt3D::Render::Renderer::initialize(QOpenGLContext * context)
     	Qt5Cored.dll!QThreadPrivate::start(void * arg)
     	msvcr120d.dll!_threadstartex(void * ptd)

    One more detail, i got theses errors with the same code under QtCreator :

    Qt3D.Core.Nodes: void Qt3D::QEntity::addComponent(Qt3D::QComponent*) Qt3D::QCameraLens(0x3e2b50)
    Qt3D.Core.Nodes: void Qt3D::QEntity::addComponent(Qt3D::QComponent*) Qt3D::QTransform(0x3e2b60)
    Failed to load scene parser plugin  "C:/Qt/Qt5.5.1/5.5/mingw492_32/plugins/sceneparsers/assimpsceneparser.dll"
    Failed to load scene parser plugin  "C:/Qt/Qt5.5.1/5.5/mingw492_32/plugins/sceneparsers/gltfsceneparser.dll"

  • Lifetime Qt Champion


    There's something fishy here, your title talks about VS2013 but you are using a MinGW installation of Qt. So all in all which one is it ?

  • Hey,

    I want to use it under VS2013.

    After having the crash with Visual Studio, i wanted to give a try to QtCreator with MinGW Qt Version. Just to check if it comes from the visual compilation or not.

  • Lifetime Qt Champion

    You are aware that you can also use Qt Creator to build your application with the VS2013 compiler ?

  • Yep I know, but it's not an option on my project.

    By the way, i got the exact same behavior using the VS2013 compiler.

    The scene parser plugin that fails to load (the dll files) are well present in the folder.

Log in to reply