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

module "QtWebView" is not installed in iOS (static) shadow build (using developer build)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.4
    • Fix Version/s: None
    • Component/s: WebView
    • Labels:
      None
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      When using QML WebView (import QtWebView 1.1), I receive the following runtime error message:

      module "QtWebView" is not installed
      

      I build Qt for iOS using the following configure command (shadow build)

      ../5124/configure -xplatform macx-ios-clang -developer-build -nomake examples -nomake tests -opensource -confirm-license -static -no-icu

      The generated qrc file does not contain the required QtWebView's qmldir:

      :/qt-project.org/imports/QtWebView/qmldir

      but instead contains the following files (which are not recognised at runtime):

      :/qt-project.org/imports/QtWebView/5124Build
      :/qt-project.org/imports/QtWebView/5124Build/qtwebview
      :/qt-project.org/imports/QtWebView/5124Build/qtwebview/src
      :/qt-project.org/imports/QtWebView/5124Build/qtwebview/src/imports
      :/qt-project.org/imports/QtWebView/5124Build/qtwebview/src/imports/qmldir

      A workaround (and possible solution) is to modify in the generated qrc file:

      /qt/build/path/qtwebview/src/imports/.rcc/release

      the alias of the qmldir to 

      qmldir

      instead of some weird path.

        Attachments

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

          Activity

            People

            Assignee:
            stromme Christian
            Reporter:
            m3197d - -
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes