Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Test Quick3D app outside dev environement
Forum Updated to NodeBB v4.3 + New Features

Test Quick3D app outside dev environement

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 2.6k Views 1 Watching
  • 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 Offline
    R Offline
    rickpier
    wrote on last edited by
    #1

    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
    0
    • H Offline
      H Offline
      hmuelner
      wrote on last edited by
      #2

      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
      0
      • podsvirovP Offline
        podsvirovP Offline
        podsvirov
        wrote on last edited by
        #3

        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
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved