Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-100271

Qt WebEngine app cannot run if hosted on a network drive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.8
    • WebEngine
    • Windows 10 Pro 21H1
    • Windows

    Description

      Customer reported that Qt 5.15 has this issue, but Qt 5.9 is fine.

      This issue does not occur with Qt apps that don't use Qt WebEngine.

      Steps to reproduce

      1. Build the WebEngine Widgets Video Player Example (https://doc.qt.io/qt-5/qtwebengine-webenginewidgets-videoplayer-example.html )
      2. Use windeployqt to deploy videoplayer.exe to C:\Users\Public\VideoPlayer\
      3. Use Windows Explorer to navigate to C:\Users\Public\VideoPlayer\ and double-click videoplayer.exe
      4. Use Windows Explorer to navigate to \\[HOSTNAME]\Users\Public\VideoPlayer\ and double-click videoplayer.exe

       

      Results

      • Step #3 works and the video plays. This shows that the app has been deployed correctly.
      • Step #4 fails with an error dialog, "The code execution cannot proceed because Qt5Core.dll was not found." (see attached screenshot) This shows that there is a problem with loading the binaries from a network path.

      Attachments

        Issue Links

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: