Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved WinDeployQt.exe doesn't deploy webview qml folder?

    Tools
    3
    5
    1421
    Loading More Posts
    • 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.
    • B
      Besidge last edited by

      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.

      JKSH 1 Reply Last reply Reply Quote 0
      • JKSH
        JKSH Moderators @Besidge last edited by

        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.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        B 1 Reply Last reply Reply Quote 0
        • B
          Besidge @JKSH last edited by

          @JKSH Created https://bugreports.qt.io/browse/QTBUG-60761. Thanks!

          1 Reply Last reply Reply Quote 2
          • S
            Sriep last edited by

            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.

            S 1 Reply Last reply Reply Quote 0
            • S
              Sriep @Sriep last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post