Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtWebEngineCore.dll SOMETIMES not found
Forum Updated to NodeBB v4.3 + New Features

QtWebEngineCore.dll SOMETIMES not found

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.1k 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.
  • V Offline
    V Offline
    Volker75
    wrote on 9 Dec 2024, 13:10 last edited by
    #1

    Hallo,

    I wrote an Qt 6 (Currently Qt 6.7.2) application, that #include <QWebEngineView>
    I can compile it and run the application.
    So far everything is working fine.
    I can also compile with Windows, Linux and MacOS. All is running fine.
    I always use the deploy tools, so it copy the needed dll and so files automatically into to correct folders.
    I can copy the Windows, Linux and MacOS versions on other computers and they always run fine.
    I tested that at least on 10 different Windows computers.

    But now a user reports that he get an error message "QtWebEngineCore.dll not found". But the file is in the correct directory. I visited that user and check that the dll is at the correct place. We even deleted the whole folder and unzip the software once again (the software that is running fine on 10 other Windows computers). I saw again the dll at the correct place, but he still get the warning about the missing dll file.

    Then I right clicked on the QtWebEngineCore.dll to view the properties and I noticed that his computer needs over 5 seconds to open the "right click contents menu"! But the error is always reported immediately if i try to run the application. So I guess that something (maybe a Virus scanner) tries to check the dll file before opening it and that took too much time (since the dll file is ~140MB large). Sadly I can't see everything on that PC and also not the other user, since it is a remote Windows Server used with Citrix.

    Is there a way to increase the number of read accesses if opening a dll file fails? Or is it possible to increasing the time limit before a bug is reported?

    I guess static compiling might solve it, but i never done that so far and, if I understood correct, there might be a legal problem with my software if i compile static. Of course we might try to fix that problem on the server, but the problem with that fix will be, that it helps only that single user. A fix should help all users, so I prefer a fix by Qt or my source. Any other ideas how to fix that?

    Thank you for your help

    J 1 Reply Last reply 9 Dec 2024, 13:15
    0
    • V Volker75
      9 Dec 2024, 13:10

      Hallo,

      I wrote an Qt 6 (Currently Qt 6.7.2) application, that #include <QWebEngineView>
      I can compile it and run the application.
      So far everything is working fine.
      I can also compile with Windows, Linux and MacOS. All is running fine.
      I always use the deploy tools, so it copy the needed dll and so files automatically into to correct folders.
      I can copy the Windows, Linux and MacOS versions on other computers and they always run fine.
      I tested that at least on 10 different Windows computers.

      But now a user reports that he get an error message "QtWebEngineCore.dll not found". But the file is in the correct directory. I visited that user and check that the dll is at the correct place. We even deleted the whole folder and unzip the software once again (the software that is running fine on 10 other Windows computers). I saw again the dll at the correct place, but he still get the warning about the missing dll file.

      Then I right clicked on the QtWebEngineCore.dll to view the properties and I noticed that his computer needs over 5 seconds to open the "right click contents menu"! But the error is always reported immediately if i try to run the application. So I guess that something (maybe a Virus scanner) tries to check the dll file before opening it and that took too much time (since the dll file is ~140MB large). Sadly I can't see everything on that PC and also not the other user, since it is a remote Windows Server used with Citrix.

      Is there a way to increase the number of read accesses if opening a dll file fails? Or is it possible to increasing the time limit before a bug is reported?

      I guess static compiling might solve it, but i never done that so far and, if I understood correct, there might be a legal problem with my software if i compile static. Of course we might try to fix that problem on the server, but the problem with that fix will be, that it helps only that single user. A fix should help all users, so I prefer a fix by Qt or my source. Any other ideas how to fix that?

      Thank you for your help

      J Offline
      J Offline
      JonB
      wrote on 9 Dec 2024, 13:15 last edited by
      #2

      @Volker75
      Start by switching off virus scanning if you really think that is an issue.

      I believe Windows reports "DLL not found" for a "top-level" DLL when, although it can find it, it has further dependent DLLs and it cannot find one of those. Check QtWebEngineCore.dll's dependencies on the bad system. Check none of them are on a remote/network/slow drive. Check the user's PATH does not have such a drive on it.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        Volker75
        wrote on 9 Dec 2024, 13:38 last edited by
        #3

        Thank you for answer. I will try. It will take some time, since the other user is not the admin and the admin is located at an other location. I will visit the user in 2 days again.
        I can't say where the drives are, if they are local or over network. I guess network, since it is a very large institution (a server that cares about several thousand users). So i fear the admin will not disable virus checking, since it is a system in use. The admin is for sure not allowed to disable security systems. Maybe he has got a test platform. I will ask him.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 9 Dec 2024, 20:03 last edited by
          #4

          Hi,

          One other thing to check is whether there is another version of Qt deployed somewhere in a folder that is in the PATH environnement variable. This one might be loaded first and thus break things on your side.
          This could be easier to debug, start a terminal, make PATH to its minimal version and try to start your application.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • V Offline
            V Offline
            Volker75
            wrote on 10 Dec 2024, 01:02 last edited by
            #5

            Good idea. I will try it.

            1 Reply Last reply
            0
            • V Volker75 referenced this topic on 12 Jan 2025, 10:35

            1/5

            9 Dec 2024, 13:10

            • Login

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