Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngineProcess.exe not found.
QtWS25 Last Chance

QtWebEngineProcess.exe not found.

Scheduled Pinned Locked Moved Unsolved QtWebEngine
webenginewebenginecore
9 Posts 4 Posters 965 Views
  • 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.
  • C Offline
    C Offline
    CDQT
    wrote on 15 Jan 2025, 12:46 last edited by
    #1

    Hello,
    I need to add QtWebEngine support to my old project prepared with Qt 5.9.0 (cant upgrade to newer version)

    I wrote the necessary code by looking at the help documentation, and my project is working, but when I tried to run it on another PC, I received the error "QtWebEngineProcess.exe not found."

    The directory where Qt is installed on My PC is "D:\Qt\Qt5.9.0\5.9" and the environment variable definitions for QTDIR, QT_PLUGIN_PATH, and QT_QPA_PLATFORM_PLUGIN_PATH are using this directory: "D:\Qt\Qt5.9.0\5.9".

    On the other PC, the directory where Qt is installed is "C:\Users\abc\Project\Qt\Qt5.9.0\5.9" and the environment variable definitions for QTDIR, QT_PLUGIN_PATH, and QT_QPA_PLATFORM_PLUGIN_PATH are using this directory: "C:\Users\abc\Project\Qt\Qt5.9.0\5.9".

    I defined the QTWEBENGINEPROCESS_PATH environment variable and set its value to "C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin", but it still crashes with an error.
    Also tried to "C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin\QtWebEngineProcess.exe" still getting error.

    Any ideas?

    J 1 Reply Last reply 15 Jan 2025, 13:42
    0
    • C CDQT
      15 Jan 2025, 12:46

      Hello,
      I need to add QtWebEngine support to my old project prepared with Qt 5.9.0 (cant upgrade to newer version)

      I wrote the necessary code by looking at the help documentation, and my project is working, but when I tried to run it on another PC, I received the error "QtWebEngineProcess.exe not found."

      The directory where Qt is installed on My PC is "D:\Qt\Qt5.9.0\5.9" and the environment variable definitions for QTDIR, QT_PLUGIN_PATH, and QT_QPA_PLATFORM_PLUGIN_PATH are using this directory: "D:\Qt\Qt5.9.0\5.9".

      On the other PC, the directory where Qt is installed is "C:\Users\abc\Project\Qt\Qt5.9.0\5.9" and the environment variable definitions for QTDIR, QT_PLUGIN_PATH, and QT_QPA_PLATFORM_PLUGIN_PATH are using this directory: "C:\Users\abc\Project\Qt\Qt5.9.0\5.9".

      I defined the QTWEBENGINEPROCESS_PATH environment variable and set its value to "C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin", but it still crashes with an error.
      Also tried to "C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin\QtWebEngineProcess.exe" still getting error.

      Any ideas?

      J Online
      J Online
      JonB
      wrote on 15 Jan 2025, 13:42 last edited by JonB
      #2

      @CDQT said in QtWebEngineProcess.exe not found.:

      I defined the QTWEBENGINEPROCESS_PATH environment variable and set its value to "C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin

      Well this is wrong (I think) for a start, since it requires the full path to the .exe file, not just some directory, See https://forum.qt.io/post/482842, where OP replied to me:

      set the QTWEBENGINEPROCESS_PATH environment variable to the absolute path of QtWebEngineProcess.exe (including the .exe file) works now. Qt official Doc I used makes no detail about this.

      So that's a start. But I guess you will say you have tried with C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin\QtWebEngineProcess.exe. Do you mean you still got error "QtWebEngineProcess.exe not found."? You would have told us if the message was different, wouldn't you? Does that file exist? Did you try running it directly from command line just to see whether you get same error?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        CDQT
        wrote on 15 Jan 2025, 14:04 last edited by
        #3

        Yes, I saw that post before.
        this;
        QTWEBENGINEPROCESS_PATH=C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin\QtWebEngineProcess.exe

        still getting same error

        J 1 Reply Last reply 15 Jan 2025, 14:09
        0
        • C CDQT
          15 Jan 2025, 14:04

          Yes, I saw that post before.
          this;
          QTWEBENGINEPROCESS_PATH=C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin\QtWebEngineProcess.exe

          still getting same error

          J Online
          J Online
          JonB
          wrote on 15 Jan 2025, 14:09 last edited by JonB
          #4

          @CDQT

          • Do you do that from the command line or from C++ code? If C++ code it's wrong.

          • I asked you whether that file exists at that path --- no response.

          • I asked you to try running it from the command line outside of Qt application --- no response.

          • I asked you if you do do it from command line whether the error message remains "QtWebEngineProcess.exe not found." --- no response.

          I can't guess what you might or might not have done. Up to you.....

          1 Reply Last reply
          0
          • C Offline
            C Offline
            CDQT
            wrote on 15 Jan 2025, 14:47 last edited by CDQT
            #5

            Do you do that from the command line or from C++ code? If C++ code it's wrong.
            QTWEBENGINEPROCESS_PATH=C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin\QtWebEngineProcess.exe - this is my environment.
            my codes work on my pc.
            I asked you whether that file exists at that path --- no response.
            yes. files exists. checked the environment with cmd command "echo %QTWEBENGINEPROCESS_PATH%"
            I asked you to try running it from the command line outside of Qt application --- no response.
            my qt application starting with command line. i saw the error on console.
            I asked you if you do do it from command line whether the error message remains "QtWebEngineProcess.exe not found." --- no response.

            I'm sorry for incomplete answers; I am still trying things out. 
            
            I copied the files "QtWebEngineProcess," "QtWebEngineCore.dll resources," and "translations" to the directory where the Qt application is located.
            
            This time I am receiving this error:
            Qt WebEngine ICU data not found at D:/Qt/Qt5.9.0/5.9/msvc2017_64/resources. Trying parent directory...
            Qt WebEngine ICU data not found at D:/Qt/Qt5.9.0/5.9/msvc2017_64. Trying application directory...
            Qt WebEngine ICU data not found at C:/Projects/dev/application. Trying fallback directory... The application MAY NOT work.
            Installed Qt WebEngine locales directory not found at location D:/Qt/Qt5.9.0/5.9/msvc2017_64/translations/qtwebengine_locales. Trying application directory...
            Qt WebEngine locales directory not found at location C:/Projects/dev/application/qtwebengine_locales. Trying fallback directory... Translations MAY NOT be correct.
            [0115/172530.990:ERROR:icu_util.cc(178)] Invalid file descriptor to ICU data received.
            
            QtWebEngine is looking for the executable in the wrong directory. correct path is "C:\Users\abc\Project\Qt\Qt5.9.0\5.9". 
            
            "D:\Qt\Qt5.9.0\5.9" <--- This directory is where I have the Qt directory on my development machine.
            "C:\Users\abc\Project\Qt\Qt5.9.0" <--- This directory is the location of the QT installation on the other computer where I ran the application.
            
            J J 2 Replies Last reply 15 Jan 2025, 14:54
            0
            • C CDQT
              15 Jan 2025, 14:47

              Do you do that from the command line or from C++ code? If C++ code it's wrong.
              QTWEBENGINEPROCESS_PATH=C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin\QtWebEngineProcess.exe - this is my environment.
              my codes work on my pc.
              I asked you whether that file exists at that path --- no response.
              yes. files exists. checked the environment with cmd command "echo %QTWEBENGINEPROCESS_PATH%"
              I asked you to try running it from the command line outside of Qt application --- no response.
              my qt application starting with command line. i saw the error on console.
              I asked you if you do do it from command line whether the error message remains "QtWebEngineProcess.exe not found." --- no response.

              I'm sorry for incomplete answers; I am still trying things out. 
              
              I copied the files "QtWebEngineProcess," "QtWebEngineCore.dll resources," and "translations" to the directory where the Qt application is located.
              
              This time I am receiving this error:
              Qt WebEngine ICU data not found at D:/Qt/Qt5.9.0/5.9/msvc2017_64/resources. Trying parent directory...
              Qt WebEngine ICU data not found at D:/Qt/Qt5.9.0/5.9/msvc2017_64. Trying application directory...
              Qt WebEngine ICU data not found at C:/Projects/dev/application. Trying fallback directory... The application MAY NOT work.
              Installed Qt WebEngine locales directory not found at location D:/Qt/Qt5.9.0/5.9/msvc2017_64/translations/qtwebengine_locales. Trying application directory...
              Qt WebEngine locales directory not found at location C:/Projects/dev/application/qtwebengine_locales. Trying fallback directory... Translations MAY NOT be correct.
              [0115/172530.990:ERROR:icu_util.cc(178)] Invalid file descriptor to ICU data received.
              
              QtWebEngine is looking for the executable in the wrong directory. correct path is "C:\Users\abc\Project\Qt\Qt5.9.0\5.9". 
              
              "D:\Qt\Qt5.9.0\5.9" <--- This directory is where I have the Qt directory on my development machine.
              "C:\Users\abc\Project\Qt\Qt5.9.0" <--- This directory is the location of the QT installation on the other computer where I ran the application.
              
              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 15 Jan 2025, 14:54 last edited by
              #6

              @CDQT said in QtWebEngineProcess.exe not found.:

              echo %QTWEBENGINEPROCESS_PATH%

              This does not verify that the path is valid, it just prints the value of the environment variable.
              Please, make sure the path is actually valid (a file with that name in that folder exists)...

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              M 1 Reply Last reply 4 Mar 2025, 08:44
              0
              • C CDQT
                15 Jan 2025, 14:47

                Do you do that from the command line or from C++ code? If C++ code it's wrong.
                QTWEBENGINEPROCESS_PATH=C:\Users\abc\Project\Qt\Qt5.9.0\5.9\msvc2017_64\bin\QtWebEngineProcess.exe - this is my environment.
                my codes work on my pc.
                I asked you whether that file exists at that path --- no response.
                yes. files exists. checked the environment with cmd command "echo %QTWEBENGINEPROCESS_PATH%"
                I asked you to try running it from the command line outside of Qt application --- no response.
                my qt application starting with command line. i saw the error on console.
                I asked you if you do do it from command line whether the error message remains "QtWebEngineProcess.exe not found." --- no response.

                I'm sorry for incomplete answers; I am still trying things out. 
                
                I copied the files "QtWebEngineProcess," "QtWebEngineCore.dll resources," and "translations" to the directory where the Qt application is located.
                
                This time I am receiving this error:
                Qt WebEngine ICU data not found at D:/Qt/Qt5.9.0/5.9/msvc2017_64/resources. Trying parent directory...
                Qt WebEngine ICU data not found at D:/Qt/Qt5.9.0/5.9/msvc2017_64. Trying application directory...
                Qt WebEngine ICU data not found at C:/Projects/dev/application. Trying fallback directory... The application MAY NOT work.
                Installed Qt WebEngine locales directory not found at location D:/Qt/Qt5.9.0/5.9/msvc2017_64/translations/qtwebengine_locales. Trying application directory...
                Qt WebEngine locales directory not found at location C:/Projects/dev/application/qtwebengine_locales. Trying fallback directory... Translations MAY NOT be correct.
                [0115/172530.990:ERROR:icu_util.cc(178)] Invalid file descriptor to ICU data received.
                
                QtWebEngine is looking for the executable in the wrong directory. correct path is "C:\Users\abc\Project\Qt\Qt5.9.0\5.9". 
                
                "D:\Qt\Qt5.9.0\5.9" <--- This directory is where I have the Qt directory on my development machine.
                "C:\Users\abc\Project\Qt\Qt5.9.0" <--- This directory is the location of the QT installation on the other computer where I ran the application.
                
                J Online
                J Online
                JonB
                wrote on 15 Jan 2025, 14:55 last edited by JonB
                #7

                @CDQT said in QtWebEngineProcess.exe not found.:

                yes. files exists. checked the environment with cmd command "echo %QTWEBENGINEPROCESS_PATH%"

                That does not tell us whether a file exists, it just shows the value of an environment variable. Something like dir %QTWEBENGINEPROCESS_PATH% would be better than echo.

                The error when you run QtWebEngineProcess from the command line was to be expected, I was just trying to find out whether it would be found and run.

                Have you checked whether QTWEBENGINEPROCESS_PATH is recognised/handled in a Qt version as old as 5.9? I don't know. Maybe find what doc page https://doc.qt.io/qt-5/qtwebengine-deploying.html#deploying-qt-webengine-processes read at 5.9? You might also try Googling QtWebEngineProcess.exe not found and look through the various hits to see whether any of them might be applicable to your situation.

                1 Reply Last reply
                0
                • J jsulm
                  15 Jan 2025, 14:54

                  @CDQT said in QtWebEngineProcess.exe not found.:

                  echo %QTWEBENGINEPROCESS_PATH%

                  This does not verify that the path is valid, it just prints the value of the environment variable.
                  Please, make sure the path is actually valid (a file with that name in that folder exists)...

                  M Offline
                  M Offline
                  MonkeyBusiness
                  wrote on 4 Mar 2025, 08:44 last edited by
                  #8

                  @jsulm is there a way to set the path to resources folder that webengine.exe requires?

                  J 1 Reply Last reply 4 Mar 2025, 08:49
                  0
                  • M MonkeyBusiness
                    4 Mar 2025, 08:44

                    @jsulm is there a way to set the path to resources folder that webengine.exe requires?

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 4 Mar 2025, 08:49 last edited by jsulm 3 Apr 2025, 08:50
                    #9

                    @MonkeyBusiness If you use normal resources (not external resources) then there is no need for this because the resources will be part of the executable file.

                    You also did not answer any of the latest questions...

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0

                    • Login

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