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. Problem to deploy application using QWebEngine to Windows 10
Forum Updated to NodeBB v4.3 + New Features

Problem to deploy application using QWebEngine to Windows 10

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 262 Views 1 Watching
  • 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.
  • O Offline
    O Offline
    odelaune
    wrote on last edited by
    #1

    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?

    piervalliP O 2 Replies Last reply
    0
    • O odelaune

      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?

      O Offline
      O Offline
      odelaune
      wrote on last edited by odelaune
      #3

      I 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 Reply Last reply
      0
      • O odelaune

        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?

        piervalliP Offline
        piervalliP Offline
        piervalli
        wrote on last edited by
        #2

        @odelaune

        Try dependency walker, maybe there some missing libs

        1 Reply Last reply
        0
        • O odelaune

          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?

          O Offline
          O Offline
          odelaune
          wrote on last edited by odelaune
          #3

          I 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 Reply Last reply
          0
          • O odelaune has marked this topic as solved on

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved