WinDeployQt.exe doesn't deploy webview qml folder?



  • Hi. I'm trying to compile a UWP app using Qt 5.8, and it seems that after running windeployqt.exe on it, all the modules are installed correctly, except for the contents of qml/QtWebView. This leads to the compilation failing due the the QtWebView/qmldir file not being found. Looking at the sources of windeployqt.exe at http://code.qt.io/cgit/qt/qttools.git/tree/src/windeployqt/main.cpp?h=5.8#n159, I see that for example the webchannel module is there, but not the webview module. This matches what I'm seeing when running windeployqt, because the QtWebChannel folder is copied to the output folder, but the QtWebView folder isn't. For what it is worth, Qt 5.9 seems to have the same issue.


  • Moderators

    Hi @Besidge, thanks for reporting this issue.

    Could you please repost this on the bug tracker? https://bugreports.qt.io/ Otherwise, this report will likely get lost and buried.





  • Hi

    Could someone give a workaround?

    What files do I need to copy to the deployment directory to get import QtWebView 1.1 working on Windows MSVC2015_64? I guess I am going to have a similar problem on the Mac build?

    Thanks a lot.



  • @Sriep

    Ok! I have got it working now. I needed to copy two folders, maybe deleting debug stuff.

    C:\Qt\5.8\msvc2015_64\qml\QtWebView
    C:\Qt\5.8\msvc2015_64\qml\QtWebEngine

    I had a similar problem with QtLocation and QtPositioning.


Log in to reply