That it is necessary to run the program (QML) on Computer where there is no established Qt?
The program compiled under windows 7 using the library Qt5.0.2 compiler mingw.
In the folder with the program added dll for portability:
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?
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).
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 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?
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)!
I did so.
The program works everywhere, even on Linux through wine, but in virtual engine(Windows 7) where I tested program not work(((
You probably lack OpenGL drivers, right? Please install the graphic drivers on your virtual machine.