Problem with running the application with QWebEngineView.
I am working now with Qt 5.7 Community (Visual Studio 2015) on Windows 10. I compile example program markdowneditor under Release Mode. If I run the program from the Qt Creator, the program is started.
I want to run the program without Qt Creator. I copy the files in the folder with the .exe file:
platforms\qminimal.dll platforms\qoffscreen.dll platforms\qwindows.dll libEGL.dll libGLESv2.dll Qt5Core.dll Qt5Gui.dll Qt5Network.dll Qt5Qml.dll Qt5Quick.dll Qt5WebChannel.dll Qt5WebEngine.dll Qt5WebEngineCore.dll Qt5WebEngineWidgets.dll Qt5Widgets.dll
The program runs normally.
Then I try to run a program on a clean Windows without Visual Studio 2015 and without Qt. I install Visual C++ Redistributable for Visual Studio 2015.
Then I copy the folder with all the above files. The program does not start. An error is not issued. Program a few seconds is visible in the Task Manager, and then the program closes. This program is not visible at the same time.
This situation occurs with any application if there is QWebEngineView.. If I copy all the files from the folder C:\Qt\Qt5.7.0\5.7\msvc2015_64\bin and the folder C:\Qt\Qt5.7.0\5.7\msvc2015_64\plugins, the program does not start too.
If you remove a component QWebEngineView, the program will start.
What to do? Can I forget any copy files?
Have you checked http://doc.qt.io/qt-5/windows-deployment.html? It should contain all the information you need to deploy the sample program on Windows.
Regarding the DLLs you mention, you don't need
platforms\qoffscreen.dll. As for
libGLESv2.dll, they might not be needed unless you use ANGLE, in which case you would also need
When it comes to Qt WebEngine, you need quite a few things:
QtWebEngineProcess.exe, as well as the contents of the
This being all said, you should be able to get a Qt application ready for deployment by using
This maybe off-topic, but when I download the Qt5.7beta pre-release I find no QWebEngine dlls.
Still you are using it. How?
@Hans-Dijkema I have yet to try Qt 5.7 beta, but... it seems to me like you haven't installed QtWebEngine?...