Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    That it is necessary to run the program (QML) on Computer where there is no established Qt?

    Installation and Deployment
    3
    7
    1461
    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.
    • T
      Trikrista last edited by

      The program compiled under windows 7 using the library Qt5.0.2 compiler mingw.
      In the folder with the program added dll for portability:
      @
      icudt49.dll
      icuin49.dll
      icuuc49.dll
      libEGL.dll
      libgcc_s_sjlj-1.dll
      libGLESv2.dll
      libstdc++-6.dll
      libwinpthread-1.dll
      Qt5Core.dll
      Qt5Gui.dll
      Qt5Network.dll
      Qt5Qml.dll
      Qt5Quick.dll
      Qt5Svg.dll
      Qt5V8.dll
      Qt5Widgets.dll

      and plagins

      qmltooling
      platforms
      @

      This program runs only where was collected. In other operating systems is not working. Under windows 7 immediately terminated or displays blank window, under XP gives an error "memory could not be 'read' "

      What could be the reason for this behavior?

      I'm sorry for my bad English

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        Hi, the whole process is described in the documentation: "link":http://doc.qt.io/qt-5/windows-deployment.html.

        You need to make sure the paths to QML files are correct after you copy your application data, plus you need to include all the dependencies (DLLs).

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • T
          Trikrista last edited by

          I included all the dependencies

          And first time I include QML in resource file
          Second time I copied QML in dir application

          The effect is the same(((

          I'm sorry for my bad English

          1 Reply Last reply Reply Quote 0
          • T
            Trikrista last edited by

            I have not solved this problem(((

            Can someone give a small example (QML) with dll that I knew that the problem is not in the system?

            I'm sorry for my bad English

            1 Reply Last reply Reply Quote 0
            • JKSH
              JKSH Moderators last edited by

              Hi,

              You are missing the QML plugins. You can find them in the "qml" folder in your Qt installation folder.

              (Note: You don't need the "qmltooling" folder)

              Follow the instructions closely at http://qt-project.org/wiki/Deploy_an_Application_on_Windows

              !http://i.imgur.com/S582DlV.png(Locations of deployment files)!

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply Reply Quote 0
              • T
                Trikrista last edited by

                I did so.

                The program works everywhere, even on Linux through wine, but in virtual engine(Windows 7) where I tested program not work(((

                I'm sorry for my bad English

                1 Reply Last reply Reply Quote 0
                • sierdzio
                  sierdzio Moderators last edited by

                  You probably lack OpenGL drivers, right? Please install the graphic drivers on your virtual machine.

                  (Z(:^

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