Important: Please read the Qt Code of Conduct -

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:


    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 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\qminimal.dll and platforms\qoffscreen.dll. As for libEGL.dll and libGLESv2.dll, they might not be needed unless you use ANGLE, in which case you would also need d3dcompiler_47.dll and opengl32sw.dll.

    When it comes to Qt WebEngine, you need quite a few things: QtWebEngineProcess.exe, as well as the contents of the resources and translations\qtwebengine_locales folders.

    This being all said, you should be able to get a Qt application ready for deployment by using windeployqt.exe.

  • 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?...