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

windeployqt install qwebengine resources to wrong folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 5.7.0
    • None
    • Observed on windows 7 and windows 10, 64 bit.

      Actual behaviour.

      In my code I inherit from QWebEngine. Runtime it requires to have the stuff from Qt5.7.0\5.7\msvc2013_64\resources* in the applications bin folder. If not, the application crashes.

      The folder contains files like icudtl.dat and qtwebengine_resources.pak.

      Therefore I use windeployqt.exe to automagically define the mapping from qt folder to the applications binary folder, using
      windeployqt.exe --list mapping <PathToExecutable>

      This will however put the content from the resources folder not in the applications binary folder, but in a subfolder: <PathToExecutable>/resources

      As a result after deployment, the application crashes.

      Expected behaviour.

      windeployqt.exe should put the content of "Qt5.7.0\5.7\msvc2013_64\resources\" directly in the applications 'bin' folder.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kkohne Kai Köhne
            kees Kees
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes