diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-06-13 09:01:49 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-06-22 01:11:23 +0000 |
commit | 130487f3aad80037b60f6fbf4be08d5db5edca8a (patch) | |
tree | c0e2492504e190fa1aa27fbd29750ae898de3bc9 /examples/webview | |
parent | a41750ee14febc8fbc11bcb806f631a2657b6249 (diff) |
Add a WKWebView backend.
This replaces the WebView and UIWebView backends for macOS 10.10 and
iOS 8.0 and above.
Task-number: QTBUG-48996
Change-Id: Ief1e369365b3324f747973da1d72c862aa204626
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'examples/webview')
-rw-r--r-- | examples/webview/minibrowser/macos/Info.plist | 32 | ||||
-rw-r--r-- | examples/webview/minibrowser/minibrowser.pro | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/examples/webview/minibrowser/macos/Info.plist b/examples/webview/minibrowser/macos/Info.plist new file mode 100644 index 0000000..332cd25 --- /dev/null +++ b/examples/webview/minibrowser/macos/Info.plist @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleIconFile</key> + <string></string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleExecutable</key> + <string>minibrowser</string> + <key>CFBundleIdentifier</key> + <string>sd.${PRODUCT_NAME:rfc1034identifier}</string> + <key>CFBundleDisplayName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundleName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> + <key>NSAppTransportSecurity</key> + <!-- NOTE! For more information, see: https://developer.apple.com/library/prerelease/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW33--> + <dict> + <key>NSAllowsArbitraryLoads</key> + <true/> + </dict> +</dict> +</plist> diff --git a/examples/webview/minibrowser/minibrowser.pro b/examples/webview/minibrowser/minibrowser.pro index 4460e6a..04fe228 100644 --- a/examples/webview/minibrowser/minibrowser.pro +++ b/examples/webview/minibrowser/minibrowser.pro @@ -9,6 +9,7 @@ RESOURCES += qml.qrc EXAMPLE_FILES += doc +osx:QMAKE_INFO_PLIST = macos/Info.plist ios:QMAKE_INFO_PLIST = ios/Info.plist target.path = $$[QT_INSTALL_EXAMPLES]/webview/minibrowser |