Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. WinDeployQt.exe doesn't deploy webview qml folder?
QtWS25 Last Chance

WinDeployQt.exe doesn't deploy webview qml folder?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 3 Posters 1.8k Views
  • 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 Offline
    B Offline
    Besidge
    wrote on last edited by
    #1

    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.

    JKSHJ 1 Reply Last reply
    0
    • B Besidge

      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.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      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
      0
      • JKSHJ JKSH

        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.

        B Offline
        B Offline
        Besidge
        wrote on last edited by
        #3

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

        1 Reply Last reply
        2
        • S Offline
          S Offline
          Sriep
          wrote on last edited by
          #4

          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
          0
          • S Sriep

            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 Offline
            S Offline
            Sriep
            wrote on last edited by
            #5

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

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved