Problem to deploy application using QWebEngine to Windows 10
-
wrote on 19 Oct 2023, 10:42 last edited by
Hello,
I am learning how to deploy an application on Windows.Here is what I have done so far:
- I have compiled my application in release mode usingQtCreator. An .exe file was created
- I've created a new directory and moved the .exe file into it
- I run windeployqt.exe with the path to my .exe file as argument
- I try to run my application by double-clicking on the .exe file
- My application starts but there is a part of it that uses QWebEngine. This part of the application is not working because when I try to use it, I getan error popup that says:
qtwebengineprocess.exe - Application Error. The application failed to initialize properly (0xXXXXXXXX). Click OK to terminate the application.
Do you have any idea how to solve this problem?
-
Hello,
I am learning how to deploy an application on Windows.Here is what I have done so far:
- I have compiled my application in release mode usingQtCreator. An .exe file was created
- I've created a new directory and moved the .exe file into it
- I run windeployqt.exe with the path to my .exe file as argument
- I try to run my application by double-clicking on the .exe file
- My application starts but there is a part of it that uses QWebEngine. This part of the application is not working because when I try to use it, I getan error popup that says:
qtwebengineprocess.exe - Application Error. The application failed to initialize properly (0xXXXXXXXX). Click OK to terminate the application.
Do you have any idea how to solve this problem?
wrote on 19 Oct 2023, 11:40 last edited by odelauneI found the origin of the problem.
It is because I run Windows 10 through a virtual machine. The directory where I placed my .exe file was located on a network drive...If I move this directory to a local drive, the error disappears.
-
Hello,
I am learning how to deploy an application on Windows.Here is what I have done so far:
- I have compiled my application in release mode usingQtCreator. An .exe file was created
- I've created a new directory and moved the .exe file into it
- I run windeployqt.exe with the path to my .exe file as argument
- I try to run my application by double-clicking on the .exe file
- My application starts but there is a part of it that uses QWebEngine. This part of the application is not working because when I try to use it, I getan error popup that says:
qtwebengineprocess.exe - Application Error. The application failed to initialize properly (0xXXXXXXXX). Click OK to terminate the application.
Do you have any idea how to solve this problem?
-
Hello,
I am learning how to deploy an application on Windows.Here is what I have done so far:
- I have compiled my application in release mode usingQtCreator. An .exe file was created
- I've created a new directory and moved the .exe file into it
- I run windeployqt.exe with the path to my .exe file as argument
- I try to run my application by double-clicking on the .exe file
- My application starts but there is a part of it that uses QWebEngine. This part of the application is not working because when I try to use it, I getan error popup that says:
qtwebengineprocess.exe - Application Error. The application failed to initialize properly (0xXXXXXXXX). Click OK to terminate the application.
Do you have any idea how to solve this problem?
wrote on 19 Oct 2023, 11:40 last edited by odelauneI found the origin of the problem.
It is because I run Windows 10 through a virtual machine. The directory where I placed my .exe file was located on a network drive...If I move this directory to a local drive, the error disappears.
-
1/3