Qt Forum

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

    Forum Updated on Feb 6th

    Test Quick3D app outside dev environement

    QML and Qt Quick
    3
    3
    2385
    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.
    • R
      rickpier last edited by

      I want to show a quick3D qml with qmlviewer in a laptop for a presentation.

      How can I do that without installing dev environnement on this laptop?

      (I copy all needed dll, however in qmlviewer I get module qt3D is not installed)

      1 Reply Last reply Reply Quote 0
      • H
        hmuelner last edited by

        See my answer to the question "Qt dll deployment on windows":http://stackoverflow.com/questions/4047366/qt-dll-deployment-on-windows. And you have to start qmlviewer with the option -opengl.

        Helmut Mülner

        1 Reply Last reply Reply Quote 0
        • podsvirov
          podsvirov last edited by

          On windows, you should create a folder with the contents:
          ./qmlviewer.exe
          ./Qt3D.dll
          ./Qt3DQuick.dll
          ./QtCore4.dll
          ./QtDeclarative4.dll
          ./QtGui4.dll
          ./QtNetwork4.dll
          ./QtOpenGL4.dll
          ./QtScript4.dll
          ./QtSql4.dll
          ./QtXmlPatterns4.dll
          ./Qt3D - folder from QTDIR/imports
          ./main.qml - Your presentation
          ./and other depends

          If you want to load .3ds scene, then add the folder:
          ./sceneformats - folder from QTDIR/plugins

          For example, main.qml:
          @import QtQuick 1.1
          import Qt3D 1.0
          import Qt3D.Shapes 1.0

          Viewport {
          width: 480; height: 320

          Teapot {
              effect: Effect {
                  color: "gold"
              }
          }
          

          }@

          Now run Your presentation:

          qmlviewer -opengl main.qml

          Good luck!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post