Unsolved 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 ofqml/QtWebView
. This leads to the compilation failing due the theQtWebView/qmldir
file not being found. Looking at the sources ofwindeployqt.exe
at http://code.qt.io/cgit/qt/qttools.git/tree/src/windeployqt/main.cpp?h=5.8#n159, I see that for example thewebchannel
module is there, but not thewebview
module. This matches what I'm seeing when runningwindeployqt
, because theQtWebChannel
folder is copied to the output folder, but theQtWebView
folder isn't. For what it is worth, Qt 5.9 seems to have the same issue. -
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.
-
@JKSH Created https://bugreports.qt.io/browse/QTBUG-60761. Thanks!
-
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.
-
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\QtWebEngineI had a similar problem with QtLocation and QtPositioning.