Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML WebView Deployment
Forum Updated to NodeBB v4.3 + New Features

QML WebView Deployment

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 566 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.
  • W Offline
    W Offline
    Walter White
    wrote on 4 Nov 2016, 14:45 last edited by
    #1

    Hello,

    I've just realized that for deployment of Qt minibrowser example (simple webbrowser using QtWebView) I need to manually add QtWebEngine directory with qtwebengineplugin.dll to the windeployqt or macdeployqt output, otherwise the app quits immediately after start with message

    QQmlComponent: Component is not ready
    QObject::connect: invalid null parameter
    QObject::connect: invalid null parameter
    QObject::connect: invalid null parameter
    QObject::connect: invalid null parameter
    The program has unexpectedly finished.

    It happens on Win10 and Mac, Qt 5.7

    Does it mean that the application uses QtWebEngine instead of QtWebView?

    There is the line QtWebView::initialize(); in cpp and WebView{} in QML so the app should use native APIs instead of full browser, right? As stated here:
    http://doc.qt.io/qt-5/qtwebview-index.html

    I want to submit the app to the AppStore so I want to be sure that it is not rejected because of the private API and using chromium browser

    AppStore review guidelines:
    2.5.6 Apps that browse the web must use the appropriate WebKit framework and WebKit Javascript.

    Thank you,

    W.

    1 Reply Last reply
    0

    1/1

    4 Nov 2016, 14:45

    • Login

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