Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. That it is necessary to run the program (QML) on Computer where there is no established Qt?
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 3 Posters 1.8k Views
  • 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 Offline
    T Offline
    Trikrista
    wrote on last edited by
    #1

    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
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

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

        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
        0
        • T Offline
          T Offline
          Trikrista
          wrote on last edited by
          #4

          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
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            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
            0
            • T Offline
              T Offline
              Trikrista
              wrote on last edited by
              #6

              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
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

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

                (Z(:^

                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