Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Adding QtWebView to a project causes deploying of QtWebEngine on macOS
Forum Updated to NodeBB v4.3 + New Features

Adding QtWebView to a project causes deploying of QtWebEngine on macOS

Scheduled Pinned Locked Moved Unsolved Qt WebKit
4 Posts 2 Posters 802 Views 1 Watching
  • 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.
  • K Offline
    K Offline
    Kateryna
    wrote on last edited by
    #1

    My app was rejected from AppStore because it used QtWebEngineCore that access private API. I decided to switch to QtWebView since according to documentation QtWebView uses native APIs when possible on iOS, Android, and macOS. And on Windows and Linux, it depends on QtWebEngine. But after importing QtWebView to a qml file, macdeployqt adds QtWebEngine.framework and QtWebEngineCore.framework to the app's frameworks. I tried to use the option -appstore-compliant when running macdeployqt and use the option QT_WEBVIEW_PLUGIN=native. I saw that libqtwebview_webengine.dylib was not deployed when using the -appstore-compliant option but QtWebEngine.framework and QtWebEngineCore.framework are always deployed. Is it possible to build the project without the QtWebEngine.framework?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Which version of Qt are you using ?
      Just for the sake of testing, what happens if you remove these frameworks from the app bundle and then start your application ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kateryna
        wrote on last edited by
        #3

        @Kateryna said in Adding QtWebView to a project causes deploying of QtWebEngine on macOS:

        QT_WEBVIEW_PLUGIN=native

        Thank you,

        Sorry for the late reply, it is because I find that app functionality is broken with QtWebView with -appstore-compliant option. If I remove the frameworks I could start the application however I could not verify functionality. I am using qt 6.2.1.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Since Qt 6.3 has been released, can you check if you still have that issue ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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