Webkit in OSX App

I'm working on an OSX app on QT 5.5 with C++. It is not an iOS app. It will use QWebView widget, which uses a form of Webkit. My app will also only use local html files, never a file from a web server. So, when I read this policy:


https://developer.apple.com/app-store/review/guidelines/#user-interface


It says:


2.17. Apps that browse the web must use the iOS WebKit framework and WebKit Javascript


Okay, in my case, my application will not "browse the web". Browsing the web requires a web server and a user to click a link that causes the application to interact with that web server. In my case, there's no web server involved -- all the files are local and access with file://. As well, it says iOS, but I'm working with OSX.


So, because of this, it appears that this does not apply to my application. Can anyone confirm that 2.17 only applies to iOS (tablet, mobiles) and only applies to an application that has pages that interact with a backend web server?

Replies

You have to use a stock WebView or WKWebView on Mac. You can't use anything else to render web content in an app even if it's offline.

@JohnD, thanks for your opinion. Do you know this for a fact or is that your opinion? Do any Apple Engineers want to mention something about this? It's just not documented.


I can completely understand Apple's position, on this, however. I mean, the setup package shrinks considerably if native webkit is used instead of Qt's embedded webkit, or Qt's future embedded Chromium. Qt 5.5 has a tech preview called QtWebView which uses the native webkit of OSX, but it was too beta for me -- I document my tests with it here:


http://forum.qt.io/topic/60798/applestore-and-qtwebview-webkit-qt5-5

Sorry, late answer.

You are in the wrong guidelines. For OS X Apps this guideline will work:

https://developer.apple.com/app-store/review/guidelines/mac/


You will find nothing about allowed WebKits. Nevertheless there are a few more difficulties passing a Qt-Application to the mac-appstore. You will find a lot of them (with a solution for the most of them) in the qt-boards.