summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml
diff options
context:
space:
mode:
authorOleg Yadrov <oleg.yadrov@qt.io>2016-10-17 16:11:16 -0700
committerOleg Yadrov <oleg.yadrov@qt.io>2016-10-28 22:35:51 +0000
commite4caafbd47b9a2f2e98461e052827f73a7be25d6 (patch)
treed82c59449681b402cb46b20e111f8d99848e88bf /examples/qt3d/planets-qml
parent59fc9863568456e3a5113f5633354d8d0fad00be (diff)
Add Apple Watch app to control Planets QML demo
Change-Id: I937f8ff83565f48da5d35055add794c607bb52e4 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'examples/qt3d/planets-qml')
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json56
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/AppIcon.appiconset/home_icon.pngbin0 -> 1495 bytes
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/Contents.json6
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Base.lproj/Interface.storyboard53
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Info.plist33
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Circular.imageset/Contents.json18
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Contents.json28
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Extra Large.imageset/Contents.json18
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Modular.imageset/Contents.json18
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Utilitarian.imageset/Contents.json18
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/ExtensionDelegate.h55
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/ExtensionDelegate.m95
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Info.plist36
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/InterfaceController.h68
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/InterfaceController.m193
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient.xcodeproj/project.pbxproj608
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/AppDelegate.h59
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/AppDelegate.m93
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/Contents.json95
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/icon120.pngbin0 -> 2629 bytes
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/icon180.pngbin0 -> 5401 bytes
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Base.lproj/LaunchScreen.storyboard27
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Base.lproj/Main.storyboard73
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Info.plist45
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/ViewController.h60
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/ViewController.m95
-rw-r--r--examples/qt3d/planets-qml/planets-watchos/PlanetsClient/main.m16
28 files changed, 1873 insertions, 0 deletions
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 000000000..500276f67
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,56 @@
+{
+ "images" : [
+ {
+ "size" : "24x24",
+ "idiom" : "watch",
+ "scale" : "2x",
+ "role" : "notificationCenter",
+ "subtype" : "38mm"
+ },
+ {
+ "size" : "27.5x27.5",
+ "idiom" : "watch",
+ "scale" : "2x",
+ "role" : "notificationCenter",
+ "subtype" : "42mm"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "watch",
+ "role" : "companionSettings",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "watch",
+ "role" : "companionSettings",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "watch",
+ "filename" : "home_icon.png",
+ "scale" : "2x",
+ "role" : "appLauncher",
+ "subtype" : "38mm"
+ },
+ {
+ "size" : "86x86",
+ "idiom" : "watch",
+ "scale" : "2x",
+ "role" : "quickLook",
+ "subtype" : "38mm"
+ },
+ {
+ "size" : "98x98",
+ "idiom" : "watch",
+ "scale" : "2x",
+ "role" : "quickLook",
+ "subtype" : "42mm"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+} \ No newline at end of file
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/AppIcon.appiconset/home_icon.png b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/AppIcon.appiconset/home_icon.png
new file mode 100644
index 000000000..d00a93632
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/AppIcon.appiconset/home_icon.png
Binary files differ
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/Contents.json b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/Contents.json
new file mode 100644
index 000000000..da4a164c9
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+} \ No newline at end of file
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Base.lproj/Interface.storyboard b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Base.lproj/Interface.storyboard
new file mode 100644
index 000000000..d7e9194b4
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Base.lproj/Interface.storyboard
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder.WatchKit.Storyboard" version="3.0" toolsVersion="11535.1" systemVersion="16A323" targetRuntime="watchKit" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="AgC-eL-Hgc">
+ <device id="watch38" orientation="portrait">
+ <adaptation id="fullscreen"/>
+ </device>
+ <dependencies>
+ <deployment identifier="watchOS"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11523"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBWatchKitPlugin" version="11508"/>
+ </dependencies>
+ <scenes>
+ <!--Interface Controller-->
+ <scene sceneID="aou-V4-d1y">
+ <objects>
+ <controller id="AgC-eL-Hgc" customClass="InterfaceController">
+ <items>
+ <label width="1" alignment="left" text="127.0.0.1:8080" numberOfLines="2" id="9HQ-YC-P4i"/>
+ <picker width="1" height="64" alignment="left" focusStyle="stack" id="ABv-8d-yEr">
+ <connections>
+ <action selector="selectedPlanetChanged:" destination="AgC-eL-Hgc" id="OU5-km-9HE"/>
+ </connections>
+ </picker>
+ <label width="1" alignment="left" text="Rotation Speed" id="xoA-aj-W51"/>
+ <slider width="1" alignment="left" value="5" minimum="1" maximum="10" steps="10" id="HWA-3V-ha8">
+ <connections>
+ <action selector="rotationSpeedChanged:" destination="AgC-eL-Hgc" id="OGB-04-Eac"/>
+ </connections>
+ </slider>
+ <label width="1" alignment="left" text="Viewing Distance" id="mHk-AK-qJi"/>
+ <slider width="1" alignment="left" value="5" minimum="1" maximum="10" steps="10" id="ETL-Aj-Rbd">
+ <connections>
+ <action selector="viewingDistanceChanged:" destination="AgC-eL-Hgc" id="05F-9h-WCb"/>
+ </connections>
+ </slider>
+ <label width="1" height="18" alignment="left" text="Planet Size" id="w4k-sT-H0q"/>
+ <slider width="1" alignment="left" value="5" minimum="1" maximum="10" steps="10" id="ohR-g5-Xt1">
+ <connections>
+ <action selector="planetSizeChanged:" destination="AgC-eL-Hgc" id="O44-Jy-fTe"/>
+ </connections>
+ </slider>
+ </items>
+ <connections>
+ <outlet property="hostLabel" destination="9HQ-YC-P4i" id="hFZ-iv-58q"/>
+ <outlet property="planetPicker" destination="ABv-8d-yEr" id="sNX-zW-lRr"/>
+ <outlet property="planetSizeSlider" destination="ohR-g5-Xt1" id="RTf-au-sBa"/>
+ <outlet property="rotationSpeedSlider" destination="HWA-3V-ha8" id="E3m-En-Rle"/>
+ <outlet property="viewingDistanceSlider" destination="ETL-Aj-Rbd" id="5rO-7Q-MYm"/>
+ </connections>
+ </controller>
+ </objects>
+ </scene>
+ </scenes>
+</document>
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Info.plist b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Info.plist
new file mode 100644
index 000000000..97f7a59a2
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit App/Info.plist
@@ -0,0 +1,33 @@
+<?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>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>PlanetsClient WatchKit App</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>$(PRODUCT_NAME)</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ </array>
+ <key>WKCompanionAppBundleIdentifier</key>
+ <string>Qt.PlanetsClient</string>
+ <key>WKWatchKitApp</key>
+ <true/>
+</dict>
+</plist>
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Circular.imageset/Contents.json b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Circular.imageset/Contents.json
new file mode 100644
index 000000000..9be9adbf7
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Circular.imageset/Contents.json
@@ -0,0 +1,18 @@
+{
+ "images" : [
+ {
+ "idiom" : "watch",
+ "screenWidth" : "{130,145}",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "watch",
+ "screenWidth" : "{146,165}",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+} \ No newline at end of file
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Contents.json b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Contents.json
new file mode 100644
index 000000000..2eca9a1f4
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Contents.json
@@ -0,0 +1,28 @@
+{
+ "assets" : [
+ {
+ "idiom" : "watch",
+ "filename" : "Circular.imageset",
+ "role" : "circular"
+ },
+ {
+ "idiom" : "watch",
+ "filename" : "Extra Large.imageset",
+ "role" : "extra-large"
+ },
+ {
+ "idiom" : "watch",
+ "filename" : "Modular.imageset",
+ "role" : "modular"
+ },
+ {
+ "idiom" : "watch",
+ "filename" : "Utilitarian.imageset",
+ "role" : "utilitarian"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Extra Large.imageset/Contents.json b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Extra Large.imageset/Contents.json
new file mode 100644
index 000000000..9be9adbf7
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Extra Large.imageset/Contents.json
@@ -0,0 +1,18 @@
+{
+ "images" : [
+ {
+ "idiom" : "watch",
+ "screenWidth" : "{130,145}",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "watch",
+ "screenWidth" : "{146,165}",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+} \ No newline at end of file
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Modular.imageset/Contents.json b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Modular.imageset/Contents.json
new file mode 100644
index 000000000..9be9adbf7
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Modular.imageset/Contents.json
@@ -0,0 +1,18 @@
+{
+ "images" : [
+ {
+ "idiom" : "watch",
+ "screenWidth" : "{130,145}",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "watch",
+ "screenWidth" : "{146,165}",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+} \ No newline at end of file
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Utilitarian.imageset/Contents.json b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Utilitarian.imageset/Contents.json
new file mode 100644
index 000000000..9be9adbf7
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Assets.xcassets/Complication.complicationset/Utilitarian.imageset/Contents.json
@@ -0,0 +1,18 @@
+{
+ "images" : [
+ {
+ "idiom" : "watch",
+ "screenWidth" : "{130,145}",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "watch",
+ "screenWidth" : "{146,165}",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+} \ No newline at end of file
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/ExtensionDelegate.h b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/ExtensionDelegate.h
new file mode 100644
index 000000000..0aa6d25a6
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/ExtensionDelegate.h
@@ -0,0 +1,55 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2016 The Qt Company Ltd.
+ ** Contact: https://www.qt.io/licensing/
+ **
+ ** This file is part of the Qt3D module of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** Commercial License Usage
+ ** Licensees holding valid commercial Qt licenses may use this file in
+ ** accordance with the commercial license agreement provided with the
+ ** Software or, alternatively, in accordance with the terms contained in
+ ** a written agreement between you and The Qt Company. For licensing terms
+ ** and conditions see https://www.qt.io/terms-conditions. For further
+ ** information use the contact form at https://www.qt.io/contact-us.
+ **
+ ** BSD License Usage
+ ** Alternatively, you may use this file under the terms of the BSD license
+ ** as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of The Qt Company Ltd nor the names of its
+ ** contributors may be used to endorse or promote products derived
+ ** from this software without specific prior written permission.
+ **
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ **
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#import <WatchKit/WatchKit.h>
+
+@interface ExtensionDelegate : NSObject <WKExtensionDelegate>
+
+@end
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/ExtensionDelegate.m b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/ExtensionDelegate.m
new file mode 100644
index 000000000..da91935ce
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/ExtensionDelegate.m
@@ -0,0 +1,95 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2016 The Qt Company Ltd.
+ ** Contact: https://www.qt.io/licensing/
+ **
+ ** This file is part of the Qt3D module of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** Commercial License Usage
+ ** Licensees holding valid commercial Qt licenses may use this file in
+ ** accordance with the commercial license agreement provided with the
+ ** Software or, alternatively, in accordance with the terms contained in
+ ** a written agreement between you and The Qt Company. For licensing terms
+ ** and conditions see https://www.qt.io/terms-conditions. For further
+ ** information use the contact form at https://www.qt.io/contact-us.
+ **
+ ** BSD License Usage
+ ** Alternatively, you may use this file under the terms of the BSD license
+ ** as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of The Qt Company Ltd nor the names of its
+ ** contributors may be used to endorse or promote products derived
+ ** from this software without specific prior written permission.
+ **
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ **
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#import "ExtensionDelegate.h"
+
+@implementation ExtensionDelegate
+
+- (void)applicationDidFinishLaunching {
+ // Perform any final initialization of your application.
+}
+
+- (void)applicationDidBecomeActive {
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
+}
+
+- (void)applicationWillResignActive {
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
+ // Use this method to pause ongoing tasks, disable timers, etc.
+}
+
+- (void)handleBackgroundTasks:(NSSet<WKRefreshBackgroundTask *> *)backgroundTasks {
+ // Sent when the system needs to launch the application in the background to process tasks. Tasks arrive in a set, so loop through and process each one.
+ for (WKRefreshBackgroundTask * task in backgroundTasks) {
+ // Check the Class of each task to decide how to process it
+ if ([task isKindOfClass:[WKApplicationRefreshBackgroundTask class]]) {
+ // Be sure to complete the background task once you’re done.
+ WKApplicationRefreshBackgroundTask *backgroundTask = (WKApplicationRefreshBackgroundTask*)task;
+ [backgroundTask setTaskCompleted];
+ } else if ([task isKindOfClass:[WKSnapshotRefreshBackgroundTask class]]) {
+ // Snapshot tasks have a unique completion call, make sure to set your expiration date
+ WKSnapshotRefreshBackgroundTask *snapshotTask = (WKSnapshotRefreshBackgroundTask*)task;
+ [snapshotTask setTaskCompletedWithDefaultStateRestored:YES estimatedSnapshotExpiration:[NSDate distantFuture] userInfo:nil];
+ } else if ([task isKindOfClass:[WKWatchConnectivityRefreshBackgroundTask class]]) {
+ // Be sure to complete the background task once you’re done.
+ WKWatchConnectivityRefreshBackgroundTask *backgroundTask = (WKWatchConnectivityRefreshBackgroundTask*)task;
+ [backgroundTask setTaskCompleted];
+ } else if ([task isKindOfClass:[WKURLSessionRefreshBackgroundTask class]]) {
+ // Be sure to complete the background task once you’re done.
+ WKURLSessionRefreshBackgroundTask *backgroundTask = (WKURLSessionRefreshBackgroundTask*)task;
+ [backgroundTask setTaskCompleted];
+ } else {
+ // make sure to complete unhandled task types
+ [task setTaskCompleted];
+ }
+ }
+}
+
+@end
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Info.plist b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Info.plist
new file mode 100644
index 000000000..ece2677b1
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/Info.plist
@@ -0,0 +1,36 @@
+<?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>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>PlanetsClient WatchKit Extension</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>$(PRODUCT_NAME)</string>
+ <key>CFBundlePackageType</key>
+ <string>XPC!</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ <key>NSExtension</key>
+ <dict>
+ <key>NSExtensionAttributes</key>
+ <dict>
+ <key>WKAppBundleIdentifier</key>
+ <string>Qt.PlanetsClient.watchkitapp</string>
+ </dict>
+ <key>NSExtensionPointIdentifier</key>
+ <string>com.apple.watchkit</string>
+ </dict>
+ <key>WKExtensionDelegateClassName</key>
+ <string>ExtensionDelegate</string>
+</dict>
+</plist>
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/InterfaceController.h b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/InterfaceController.h
new file mode 100644
index 000000000..eaca67c7d
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/InterfaceController.h
@@ -0,0 +1,68 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2016 The Qt Company Ltd.
+ ** Contact: https://www.qt.io/licensing/
+ **
+ ** This file is part of the Qt3D module of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** Commercial License Usage
+ ** Licensees holding valid commercial Qt licenses may use this file in
+ ** accordance with the commercial license agreement provided with the
+ ** Software or, alternatively, in accordance with the terms contained in
+ ** a written agreement between you and The Qt Company. For licensing terms
+ ** and conditions see https://www.qt.io/terms-conditions. For further
+ ** information use the contact form at https://www.qt.io/contact-us.
+ **
+ ** BSD License Usage
+ ** Alternatively, you may use this file under the terms of the BSD license
+ ** as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of The Qt Company Ltd nor the names of its
+ ** contributors may be used to endorse or promote products derived
+ ** from this software without specific prior written permission.
+ **
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ **
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#import <WatchKit/WatchKit.h>
+#import <Foundation/Foundation.h>
+#import <WatchConnectivity/WatchConnectivity.h>
+
+@interface InterfaceController : WKInterfaceController
+
+@property (nonatomic, copy) NSString *host;
+@property (nonatomic, copy) NSNumber *port;
+@property (nonatomic, copy) NSArray *planets;
+@property (nonatomic, assign) float minimumValue;
+@property (nonatomic, assign) float maximumValue;
+@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceLabel *hostLabel;
+@property (unsafe_unretained, nonatomic) IBOutlet WKInterfacePicker *planetPicker;
+@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceSlider *rotationSpeedSlider;
+@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceSlider *viewingDistanceSlider;
+@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceSlider *planetSizeSlider;
+
+@end
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/InterfaceController.m b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/InterfaceController.m
new file mode 100644
index 000000000..300d96e69
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/InterfaceController.m
@@ -0,0 +1,193 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2016 The Qt Company Ltd.
+ ** Contact: https://www.qt.io/licensing/
+ **
+ ** This file is part of the Qt3D module of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** Commercial License Usage
+ ** Licensees holding valid commercial Qt licenses may use this file in
+ ** accordance with the commercial license agreement provided with the
+ ** Software or, alternatively, in accordance with the terms contained in
+ ** a written agreement between you and The Qt Company. For licensing terms
+ ** and conditions see https://www.qt.io/terms-conditions. For further
+ ** information use the contact form at https://www.qt.io/contact-us.
+ **
+ ** BSD License Usage
+ ** Alternatively, you may use this file under the terms of the BSD license
+ ** as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of The Qt Company Ltd nor the names of its
+ ** contributors may be used to endorse or promote products derived
+ ** from this software without specific prior written permission.
+ **
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ **
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#import "InterfaceController.h"
+
+@interface InterfaceController() <WCSessionDelegate>
+
+@end
+
+@implementation InterfaceController
+
+- (id)init {
+ if ((self = [super init])) {
+ NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
+ NSString *host = [defaults stringForKey:@"host"];
+ int port = [defaults integerForKey:@"port"];
+
+ if (host == nil) {
+ self.host = @"127.0.0.1";
+ } else {
+ self.host = host;
+ }
+
+ if (port == 0) {
+ self.port = [NSNumber numberWithInt:8080];
+ } else {
+ self.port = [NSNumber numberWithInt:port];
+ }
+
+ self.planets = @[@"Sun",
+ @"Mercury",
+ @"Venus",
+ @"Earth",
+ @"Mars",
+ @"Jupiter",
+ @"Saturn",
+ @"Uranus",
+ @"Neptune",
+ @"Solar System"];
+
+ self.minimumValue = 1.0f;
+ self.maximumValue = 10.0f;
+ }
+
+ return self;
+}
+
+- (void)awakeWithContext:(id)context {
+ [super awakeWithContext:context];
+
+ int planetsCount = [self.planets count];
+
+ NSMutableArray *pickerItems = [[NSMutableArray alloc] init];
+
+ for (int i = 0; i < planetsCount; i++) {
+ WKPickerItem *item = [WKPickerItem alloc];
+ item.title = self.planets[i];
+ [pickerItems addObject:item];
+ }
+
+ [self.planetPicker setItems:pickerItems];
+
+ [self.hostLabel setText:[NSString stringWithFormat:@"%@:%@", self.host, [NSString stringWithFormat:@"%d", [self.port intValue]]]];
+}
+
+- (void)willActivate {
+ [super willActivate];
+
+ if ([WCSession isSupported]) {
+ WCSession *session = [WCSession defaultSession];
+ session.delegate = self;
+ [session activateSession];
+ }
+}
+
+- (IBAction)selectedPlanetChanged:(NSInteger)value {
+ NSString *command = [@[@"selectPlanet", self.planets[value]] componentsJoinedByString:@"/"];
+
+ [self sendCommand:command];
+}
+
+- (IBAction)rotationSpeedChanged:(float)value {
+ NSString* formattedValue = [NSString stringWithFormat:@"%.02f", (value - self.minimumValue) /
+ (self.maximumValue - self.minimumValue)];
+ NSString *command = [@[@"setRotationSpeed", formattedValue] componentsJoinedByString:@"/"];
+
+ [self sendCommand:command];
+}
+
+- (IBAction)viewingDistanceChanged:(float)value {
+ NSString* formattedValue = [NSString stringWithFormat:@"%.02f", (value - self.minimumValue) /
+ (self.maximumValue - self.minimumValue)];
+ NSString *command = [@[@"setViewingDistance", formattedValue] componentsJoinedByString:@"/"];
+
+ [self sendCommand:command];
+}
+
+- (IBAction)planetSizeChanged:(float)value {
+ NSString* formattedValue = [NSString stringWithFormat:@"%.02f", (value - self.minimumValue) /
+ (self.maximumValue - self.minimumValue)];
+ NSString *command = [@[@"setPlanetSize", formattedValue] componentsJoinedByString:@"/"];
+
+ [self sendCommand:command];
+}
+
+
+- (void)sendCommand:(NSString *)command {
+ NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init];
+
+ NSURLComponents *urlComponents = [[NSURLComponents alloc] init];
+ urlComponents.scheme = @"http";
+ urlComponents.host = self.host;
+ urlComponents.port = self.port;
+ urlComponents.path = [NSString stringWithFormat:@"/%@", command];
+
+ [request setURL:urlComponents.URL];
+ [request setHTTPMethod:@"GET"];
+
+ NSURLSession *session = [NSURLSession sessionWithConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
+ [[session dataTaskWithRequest:request completionHandler:^(NSData *data, NSURLResponse *response,
+ NSError *error) {}] resume];
+}
+
+- (void)session:(nonnull WCSession *)session didReceiveMessage:(nonnull NSDictionary *)message replyHandler:(nonnull void (^)(NSDictionary<NSString *,id> *))replyHandler {
+ NSString *host = [message objectForKey:@"host"];
+ NSString *port = [message objectForKey:@"port"];
+
+ NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];
+ numberFormatter.numberStyle = NSNumberFormatterNoStyle;
+
+ self.host = host;
+ self.port = [numberFormatter numberFromString:port];
+
+ NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
+ [defaults setObject:host forKey:@"host"];
+ [defaults setInteger:[self.port integerValue] forKey:@"port"];
+ [defaults synchronize];
+
+ [self.hostLabel setText:[NSString stringWithFormat:@"%@:%@", host, port]];
+}
+
+- (void)session:(WCSession *)session activationDidCompleteWithState:(WCSessionActivationState)activationState error:(NSError *)error {
+
+}
+
+@end
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient.xcodeproj/project.pbxproj b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient.xcodeproj/project.pbxproj
new file mode 100644
index 000000000..14afdbfb1
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient.xcodeproj/project.pbxproj
@@ -0,0 +1,608 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 198EE56A1DB022870021AE36 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 198EE5691DB022870021AE36 /* main.m */; };
+ 198EE56D1DB022870021AE36 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 198EE56C1DB022870021AE36 /* AppDelegate.m */; };
+ 198EE5701DB022870021AE36 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 198EE56F1DB022870021AE36 /* ViewController.m */; };
+ 198EE5731DB022870021AE36 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 198EE5711DB022870021AE36 /* Main.storyboard */; };
+ 198EE5751DB022870021AE36 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 198EE5741DB022870021AE36 /* Assets.xcassets */; };
+ 198EE5781DB022870021AE36 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 198EE5761DB022870021AE36 /* LaunchScreen.storyboard */; };
+ 198EE57D1DB022880021AE36 /* PlanetsClient WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = 198EE57C1DB022880021AE36 /* PlanetsClient WatchKit App.app */; };
+ 198EE5831DB022880021AE36 /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 198EE5811DB022880021AE36 /* Interface.storyboard */; };
+ 198EE5851DB022880021AE36 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 198EE5841DB022880021AE36 /* Assets.xcassets */; };
+ 198EE58C1DB022880021AE36 /* PlanetsClient WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 198EE58B1DB022880021AE36 /* PlanetsClient WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
+ 198EE5921DB022880021AE36 /* InterfaceController.m in Sources */ = {isa = PBXBuildFile; fileRef = 198EE5911DB022880021AE36 /* InterfaceController.m */; };
+ 198EE5951DB022880021AE36 /* ExtensionDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 198EE5941DB022880021AE36 /* ExtensionDelegate.m */; };
+ 198EE5971DB022880021AE36 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 198EE5961DB022880021AE36 /* Assets.xcassets */; };
+ 19BD10BF1DB0235700520DE2 /* WatchConnectivity.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 19BD10BE1DB0235700520DE2 /* WatchConnectivity.framework */; };
+ 19BD10C11DB0295200520DE2 /* WatchConnectivity.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 19BD10C01DB0295200520DE2 /* WatchConnectivity.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 198EE57E1DB022880021AE36 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 198EE55D1DB022870021AE36 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 198EE57B1DB022880021AE36;
+ remoteInfo = "PlanetsClient WatchKit App";
+ };
+ 198EE58D1DB022880021AE36 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 198EE55D1DB022870021AE36 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 198EE58A1DB022880021AE36;
+ remoteInfo = "PlanetsClient WatchKit Extension";
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 198EE59E1DB022880021AE36 /* Embed App Extensions */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 13;
+ files = (
+ 198EE58C1DB022880021AE36 /* PlanetsClient WatchKit Extension.appex in Embed App Extensions */,
+ );
+ name = "Embed App Extensions";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 198EE5A21DB022880021AE36 /* Embed Watch Content */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "$(CONTENTS_FOLDER_PATH)/Watch";
+ dstSubfolderSpec = 16;
+ files = (
+ 198EE57D1DB022880021AE36 /* PlanetsClient WatchKit App.app in Embed Watch Content */,
+ );
+ name = "Embed Watch Content";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 198EE5651DB022870021AE36 /* PlanetsClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PlanetsClient.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 198EE5691DB022870021AE36 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 198EE56B1DB022870021AE36 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+ 198EE56C1DB022870021AE36 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ 198EE56E1DB022870021AE36 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
+ 198EE56F1DB022870021AE36 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
+ 198EE5721DB022870021AE36 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
+ 198EE5741DB022870021AE36 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+ 198EE5771DB022870021AE36 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
+ 198EE5791DB022870021AE36 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+ 198EE57C1DB022880021AE36 /* PlanetsClient WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "PlanetsClient WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 198EE5821DB022880021AE36 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = "<group>"; };
+ 198EE5841DB022880021AE36 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+ 198EE5861DB022880021AE36 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+ 198EE58B1DB022880021AE36 /* PlanetsClient WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "PlanetsClient WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 198EE5901DB022880021AE36 /* InterfaceController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InterfaceController.h; sourceTree = "<group>"; };
+ 198EE5911DB022880021AE36 /* InterfaceController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InterfaceController.m; sourceTree = "<group>"; };
+ 198EE5931DB022880021AE36 /* ExtensionDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ExtensionDelegate.h; sourceTree = "<group>"; };
+ 198EE5941DB022880021AE36 /* ExtensionDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExtensionDelegate.m; sourceTree = "<group>"; };
+ 198EE5961DB022880021AE36 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+ 198EE5981DB022880021AE36 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+ 19BD10BE1DB0235700520DE2 /* WatchConnectivity.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WatchConnectivity.framework; path = System/Library/Frameworks/WatchConnectivity.framework; sourceTree = SDKROOT; };
+ 19BD10C01DB0295200520DE2 /* WatchConnectivity.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WatchConnectivity.framework; path = Platforms/WatchOS.platform/Developer/SDKs/WatchOS3.1.sdk/System/Library/Frameworks/WatchConnectivity.framework; sourceTree = DEVELOPER_DIR; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 198EE5621DB022870021AE36 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 19BD10BF1DB0235700520DE2 /* WatchConnectivity.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 198EE5881DB022880021AE36 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 19BD10C11DB0295200520DE2 /* WatchConnectivity.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 198EE55C1DB022870021AE36 = {
+ isa = PBXGroup;
+ children = (
+ 198EE5671DB022870021AE36 /* PlanetsClient */,
+ 198EE5801DB022880021AE36 /* PlanetsClient WatchKit App */,
+ 198EE58F1DB022880021AE36 /* PlanetsClient WatchKit Extension */,
+ 198EE5661DB022870021AE36 /* Products */,
+ 19BD10BD1DB0235700520DE2 /* Frameworks */,
+ );
+ sourceTree = "<group>";
+ };
+ 198EE5661DB022870021AE36 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 198EE5651DB022870021AE36 /* PlanetsClient.app */,
+ 198EE57C1DB022880021AE36 /* PlanetsClient WatchKit App.app */,
+ 198EE58B1DB022880021AE36 /* PlanetsClient WatchKit Extension.appex */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 198EE5671DB022870021AE36 /* PlanetsClient */ = {
+ isa = PBXGroup;
+ children = (
+ 198EE56B1DB022870021AE36 /* AppDelegate.h */,
+ 198EE56C1DB022870021AE36 /* AppDelegate.m */,
+ 198EE56E1DB022870021AE36 /* ViewController.h */,
+ 198EE56F1DB022870021AE36 /* ViewController.m */,
+ 198EE5711DB022870021AE36 /* Main.storyboard */,
+ 198EE5741DB022870021AE36 /* Assets.xcassets */,
+ 198EE5761DB022870021AE36 /* LaunchScreen.storyboard */,
+ 198EE5791DB022870021AE36 /* Info.plist */,
+ 198EE5681DB022870021AE36 /* Supporting Files */,
+ );
+ path = PlanetsClient;
+ sourceTree = "<group>";
+ };
+ 198EE5681DB022870021AE36 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 198EE5691DB022870021AE36 /* main.m */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ 198EE5801DB022880021AE36 /* PlanetsClient WatchKit App */ = {
+ isa = PBXGroup;
+ children = (
+ 198EE5811DB022880021AE36 /* Interface.storyboard */,
+ 198EE5841DB022880021AE36 /* Assets.xcassets */,
+ 198EE5861DB022880021AE36 /* Info.plist */,
+ );
+ path = "PlanetsClient WatchKit App";
+ sourceTree = "<group>";
+ };
+ 198EE58F1DB022880021AE36 /* PlanetsClient WatchKit Extension */ = {
+ isa = PBXGroup;
+ children = (
+ 198EE5901DB022880021AE36 /* InterfaceController.h */,
+ 198EE5911DB022880021AE36 /* InterfaceController.m */,
+ 198EE5931DB022880021AE36 /* ExtensionDelegate.h */,
+ 198EE5941DB022880021AE36 /* ExtensionDelegate.m */,
+ 198EE5961DB022880021AE36 /* Assets.xcassets */,
+ 198EE5981DB022880021AE36 /* Info.plist */,
+ );
+ path = "PlanetsClient WatchKit Extension";
+ sourceTree = "<group>";
+ };
+ 19BD10BD1DB0235700520DE2 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 19BD10C01DB0295200520DE2 /* WatchConnectivity.framework */,
+ 19BD10BE1DB0235700520DE2 /* WatchConnectivity.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 198EE5641DB022870021AE36 /* PlanetsClient */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 198EE5A31DB022880021AE36 /* Build configuration list for PBXNativeTarget "PlanetsClient" */;
+ buildPhases = (
+ 198EE5611DB022870021AE36 /* Sources */,
+ 198EE5621DB022870021AE36 /* Frameworks */,
+ 198EE5631DB022870021AE36 /* Resources */,
+ 198EE5A21DB022880021AE36 /* Embed Watch Content */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 198EE57F1DB022880021AE36 /* PBXTargetDependency */,
+ );
+ name = PlanetsClient;
+ productName = PlanetsClient;
+ productReference = 198EE5651DB022870021AE36 /* PlanetsClient.app */;
+ productType = "com.apple.product-type.application";
+ };
+ 198EE57B1DB022880021AE36 /* PlanetsClient WatchKit App */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 198EE59F1DB022880021AE36 /* Build configuration list for PBXNativeTarget "PlanetsClient WatchKit App" */;
+ buildPhases = (
+ 198EE57A1DB022880021AE36 /* Resources */,
+ 198EE59E1DB022880021AE36 /* Embed App Extensions */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 198EE58E1DB022880021AE36 /* PBXTargetDependency */,
+ );
+ name = "PlanetsClient WatchKit App";
+ productName = "PlanetsClient WatchKit App";
+ productReference = 198EE57C1DB022880021AE36 /* PlanetsClient WatchKit App.app */;
+ productType = "com.apple.product-type.application.watchapp2";
+ };
+ 198EE58A1DB022880021AE36 /* PlanetsClient WatchKit Extension */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 198EE59B1DB022880021AE36 /* Build configuration list for PBXNativeTarget "PlanetsClient WatchKit Extension" */;
+ buildPhases = (
+ 198EE5871DB022880021AE36 /* Sources */,
+ 198EE5881DB022880021AE36 /* Frameworks */,
+ 198EE5891DB022880021AE36 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "PlanetsClient WatchKit Extension";
+ productName = "PlanetsClient WatchKit Extension";
+ productReference = 198EE58B1DB022880021AE36 /* PlanetsClient WatchKit Extension.appex */;
+ productType = "com.apple.product-type.watchkit2-extension";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 198EE55D1DB022870021AE36 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0810;
+ ORGANIZATIONNAME = "Oleg Yadrov";
+ TargetAttributes = {
+ 198EE5641DB022870021AE36 = {
+ CreatedOnToolsVersion = 8.1;
+ ProvisioningStyle = Automatic;
+ };
+ 198EE57B1DB022880021AE36 = {
+ CreatedOnToolsVersion = 8.1;
+ ProvisioningStyle = Automatic;
+ };
+ 198EE58A1DB022880021AE36 = {
+ CreatedOnToolsVersion = 8.1;
+ ProvisioningStyle = Automatic;
+ };
+ };
+ };
+ buildConfigurationList = 198EE5601DB022870021AE36 /* Build configuration list for PBXProject "PlanetsClient" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 198EE55C1DB022870021AE36;
+ productRefGroup = 198EE5661DB022870021AE36 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 198EE5641DB022870021AE36 /* PlanetsClient */,
+ 198EE57B1DB022880021AE36 /* PlanetsClient WatchKit App */,
+ 198EE58A1DB022880021AE36 /* PlanetsClient WatchKit Extension */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 198EE5631DB022870021AE36 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 198EE5781DB022870021AE36 /* LaunchScreen.storyboard in Resources */,
+ 198EE5751DB022870021AE36 /* Assets.xcassets in Resources */,
+ 198EE5731DB022870021AE36 /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 198EE57A1DB022880021AE36 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 198EE5851DB022880021AE36 /* Assets.xcassets in Resources */,
+ 198EE5831DB022880021AE36 /* Interface.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 198EE5891DB022880021AE36 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 198EE5971DB022880021AE36 /* Assets.xcassets in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 198EE5611DB022870021AE36 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 198EE5701DB022870021AE36 /* ViewController.m in Sources */,
+ 198EE56D1DB022870021AE36 /* AppDelegate.m in Sources */,
+ 198EE56A1DB022870021AE36 /* main.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 198EE5871DB022880021AE36 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 198EE5951DB022880021AE36 /* ExtensionDelegate.m in Sources */,
+ 198EE5921DB022880021AE36 /* InterfaceController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 198EE57F1DB022880021AE36 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 198EE57B1DB022880021AE36 /* PlanetsClient WatchKit App */;
+ targetProxy = 198EE57E1DB022880021AE36 /* PBXContainerItemProxy */;
+ };
+ 198EE58E1DB022880021AE36 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 198EE58A1DB022880021AE36 /* PlanetsClient WatchKit Extension */;
+ targetProxy = 198EE58D1DB022880021AE36 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 198EE5711DB022870021AE36 /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 198EE5721DB022870021AE36 /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "<group>";
+ };
+ 198EE5761DB022870021AE36 /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 198EE5771DB022870021AE36 /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "<group>";
+ };
+ 198EE5811DB022880021AE36 /* Interface.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 198EE5821DB022880021AE36 /* Base */,
+ );
+ name = Interface.storyboard;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 198EE5991DB022880021AE36 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_SUSPICIOUS_MOVES = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 10.1;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 198EE59A1DB022880021AE36 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_SUSPICIOUS_MOVES = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 10.1;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 198EE59C1DB022880021AE36 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication;
+ DEVELOPMENT_TEAM = "";
+ INFOPLIST_FILE = "PlanetsClient WatchKit Extension/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = Qt.PlanetsClient.watchkitapp.watchkitextension;
+ PRODUCT_NAME = "${TARGET_NAME}";
+ SDKROOT = watchos;
+ SKIP_INSTALL = YES;
+ TARGETED_DEVICE_FAMILY = 4;
+ WATCHOS_DEPLOYMENT_TARGET = 2.0;
+ };
+ name = Debug;
+ };
+ 198EE59D1DB022880021AE36 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication;
+ DEVELOPMENT_TEAM = "";
+ INFOPLIST_FILE = "PlanetsClient WatchKit Extension/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = Qt.PlanetsClient.watchkitapp.watchkitextension;
+ PRODUCT_NAME = "${TARGET_NAME}";
+ SDKROOT = watchos;
+ SKIP_INSTALL = YES;
+ TARGETED_DEVICE_FAMILY = 4;
+ WATCHOS_DEPLOYMENT_TARGET = 2.0;
+ };
+ name = Release;
+ };
+ 198EE5A01DB022880021AE36 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ DEVELOPMENT_TEAM = "";
+ IBSC_MODULE = PlanetsClient_WatchKit_Extension;
+ INFOPLIST_FILE = "PlanetsClient WatchKit App/Info.plist";
+ PRODUCT_BUNDLE_IDENTIFIER = Qt.PlanetsClient.watchkitapp;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = watchos;
+ SKIP_INSTALL = YES;
+ TARGETED_DEVICE_FAMILY = 4;
+ WATCHOS_DEPLOYMENT_TARGET = 2.0;
+ };
+ name = Debug;
+ };
+ 198EE5A11DB022880021AE36 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ DEVELOPMENT_TEAM = "";
+ IBSC_MODULE = PlanetsClient_WatchKit_Extension;
+ INFOPLIST_FILE = "PlanetsClient WatchKit App/Info.plist";
+ PRODUCT_BUNDLE_IDENTIFIER = Qt.PlanetsClient.watchkitapp;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = watchos;
+ SKIP_INSTALL = YES;
+ TARGETED_DEVICE_FAMILY = 4;
+ WATCHOS_DEPLOYMENT_TARGET = 2.0;
+ };
+ name = Release;
+ };
+ 198EE5A41DB022880021AE36 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ DEVELOPMENT_TEAM = "";
+ INFOPLIST_FILE = PlanetsClient/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = Qt.PlanetsClient;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WATCHOS_DEPLOYMENT_TARGET = 2.0;
+ };
+ name = Debug;
+ };
+ 198EE5A51DB022880021AE36 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ DEVELOPMENT_TEAM = "";
+ INFOPLIST_FILE = PlanetsClient/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = Qt.PlanetsClient;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WATCHOS_DEPLOYMENT_TARGET = 2.0;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 198EE5601DB022870021AE36 /* Build configuration list for PBXProject "PlanetsClient" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 198EE5991DB022880021AE36 /* Debug */,
+ 198EE59A1DB022880021AE36 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 198EE59B1DB022880021AE36 /* Build configuration list for PBXNativeTarget "PlanetsClient WatchKit Extension" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 198EE59C1DB022880021AE36 /* Debug */,
+ 198EE59D1DB022880021AE36 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 198EE59F1DB022880021AE36 /* Build configuration list for PBXNativeTarget "PlanetsClient WatchKit App" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 198EE5A01DB022880021AE36 /* Debug */,
+ 198EE5A11DB022880021AE36 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 198EE5A31DB022880021AE36 /* Build configuration list for PBXNativeTarget "PlanetsClient" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 198EE5A41DB022880021AE36 /* Debug */,
+ 198EE5A51DB022880021AE36 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 198EE55D1DB022870021AE36 /* Project object */;
+}
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 000000000..194b0d2ec
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:PlanetsClient.xcodeproj">
+ </FileRef>
+</Workspace>
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/AppDelegate.h b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/AppDelegate.h
new file mode 100644
index 000000000..9eec62eda
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/AppDelegate.h
@@ -0,0 +1,59 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2016 The Qt Company Ltd.
+ ** Contact: https://www.qt.io/licensing/
+ **
+ ** This file is part of the Qt3D module of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** Commercial License Usage
+ ** Licensees holding valid commercial Qt licenses may use this file in
+ ** accordance with the commercial license agreement provided with the
+ ** Software or, alternatively, in accordance with the terms contained in
+ ** a written agreement between you and The Qt Company. For licensing terms
+ ** and conditions see https://www.qt.io/terms-conditions. For further
+ ** information use the contact form at https://www.qt.io/contact-us.
+ **
+ ** BSD License Usage
+ ** Alternatively, you may use this file under the terms of the BSD license
+ ** as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of The Qt Company Ltd nor the names of its
+ ** contributors may be used to endorse or promote products derived
+ ** from this software without specific prior written permission.
+ **
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ **
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+
+@end
+
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/AppDelegate.m b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/AppDelegate.m
new file mode 100644
index 000000000..166f31798
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/AppDelegate.m
@@ -0,0 +1,93 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2016 The Qt Company Ltd.
+ ** Contact: https://www.qt.io/licensing/
+ **
+ ** This file is part of the Qt3D module of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** Commercial License Usage
+ ** Licensees holding valid commercial Qt licenses may use this file in
+ ** accordance with the commercial license agreement provided with the
+ ** Software or, alternatively, in accordance with the terms contained in
+ ** a written agreement between you and The Qt Company. For licensing terms
+ ** and conditions see https://www.qt.io/terms-conditions. For further
+ ** information use the contact form at https://www.qt.io/contact-us.
+ **
+ ** BSD License Usage
+ ** Alternatively, you may use this file under the terms of the BSD license
+ ** as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of The Qt Company Ltd nor the names of its
+ ** contributors may be used to endorse or promote products derived
+ ** from this software without specific prior written permission.
+ **
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ **
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#import "AppDelegate.h"
+
+@interface AppDelegate ()
+
+@end
+
+@implementation AppDelegate
+
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+ // Override point for customization after application launch.
+ return YES;
+}
+
+
+- (void)applicationWillResignActive:(UIApplication *)application {
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
+ // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
+}
+
+
+- (void)applicationDidEnterBackground:(UIApplication *)application {
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
+}
+
+
+- (void)applicationWillEnterForeground:(UIApplication *)application {
+ // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
+}
+
+
+- (void)applicationDidBecomeActive:(UIApplication *)application {
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
+}
+
+
+- (void)applicationWillTerminate:(UIApplication *)application {
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
+}
+
+
+@end
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 000000000..a3ed4cb66
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,95 @@
+{
+ "images" : [
+ {
+ "idiom" : "iphone",
+ "size" : "20x20",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "iphone",
+ "size" : "20x20",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "iphone",
+ "size" : "29x29",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "iphone",
+ "size" : "29x29",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "iphone",
+ "size" : "40x40",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "iphone",
+ "size" : "40x40",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "icon120.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "iphone",
+ "size" : "60x60",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "20x20",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "20x20",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "29x29",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "29x29",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "40x40",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "40x40",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "icon180.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "76x76",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "83.5x83.5",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+} \ No newline at end of file
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/icon120.png b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/icon120.png
new file mode 100644
index 000000000..c8ff9a2eb
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/icon120.png
Binary files differ
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/icon180.png b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/icon180.png
new file mode 100644
index 000000000..8d312e8a4
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Assets.xcassets/AppIcon.appiconset/icon180.png
Binary files differ
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Base.lproj/LaunchScreen.storyboard b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 000000000..fdf3f97d1
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11134" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ </dependencies>
+ <scenes>
+ <!--View Controller-->
+ <scene sceneID="EHf-IW-A2E">
+ <objects>
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
+ <layoutGuides>
+ <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
+ <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
+ </layoutGuides>
+ <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+ </view>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="53" y="375"/>
+ </scene>
+ </scenes>
+</document>
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Base.lproj/Main.storyboard b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Base.lproj/Main.storyboard
new file mode 100644
index 000000000..d15768d40
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Base.lproj/Main.storyboard
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11535.1" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
+ <device id="retina4_7" orientation="portrait">
+ <adaptation id="fullscreen"/>
+ </device>
+ <dependencies>
+ <deployment identifier="iOS"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11523"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ </dependencies>
+ <scenes>
+ <!--View Controller-->
+ <scene sceneID="tne-QT-ifu">
+ <objects>
+ <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
+ <layoutGuides>
+ <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
+ <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
+ </layoutGuides>
+ <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Host Name (or IP address)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yQD-6e-UAt">
+ <rect key="frame" x="16" y="28" width="343" height="21"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
+ <nil key="textColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bpy-NM-f5W">
+ <rect key="frame" x="16" y="162" width="343" height="30"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
+ <state key="normal" title="Apply"/>
+ <connections>
+ <action selector="applyButtonClicked:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Vac-dy-zbh"/>
+ </connections>
+ </button>
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Port" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Myw-mc-Fnd">
+ <rect key="frame" x="16" y="95" width="343" height="21"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
+ <nil key="textColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="8080" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="3ss-x9-aC2">
+ <rect key="frame" x="16" y="124" width="343" height="30"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
+ <nil key="textColor"/>
+ <fontDescription key="fontDescription" type="system" pointSize="14"/>
+ <textInputTraits key="textInputTraits"/>
+ </textField>
+ <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="127.0.0.1" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="lbT-LC-4Rv">
+ <rect key="frame" x="16" y="57" width="343" height="30"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
+ <nil key="textColor"/>
+ <fontDescription key="fontDescription" type="system" pointSize="14"/>
+ <textInputTraits key="textInputTraits"/>
+ </textField>
+ </subviews>
+ <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+ </view>
+ <connections>
+ <outlet property="applyButton" destination="bpy-NM-f5W" id="6ch-bt-ccO"/>
+ <outlet property="hostNameTextField" destination="lbT-LC-4Rv" id="mNc-AV-o4s"/>
+ <outlet property="portTextField" destination="3ss-x9-aC2" id="zzX-4j-Sk4"/>
+ </connections>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
+ </objects>
+ </scene>
+ </scenes>
+</document>
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Info.plist b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Info.plist
new file mode 100644
index 000000000..d05247386
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/Info.plist
@@ -0,0 +1,45 @@
+<?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>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>$(PRODUCT_NAME)</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UIMainStoryboardFile</key>
+ <string>Main</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/ViewController.h b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/ViewController.h
new file mode 100644
index 000000000..61d985f12
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/ViewController.h
@@ -0,0 +1,60 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2016 The Qt Company Ltd.
+ ** Contact: https://www.qt.io/licensing/
+ **
+ ** This file is part of the Qt3D module of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** Commercial License Usage
+ ** Licensees holding valid commercial Qt licenses may use this file in
+ ** accordance with the commercial license agreement provided with the
+ ** Software or, alternatively, in accordance with the terms contained in
+ ** a written agreement between you and The Qt Company. For licensing terms
+ ** and conditions see https://www.qt.io/terms-conditions. For further
+ ** information use the contact form at https://www.qt.io/contact-us.
+ **
+ ** BSD License Usage
+ ** Alternatively, you may use this file under the terms of the BSD license
+ ** as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of The Qt Company Ltd nor the names of its
+ ** contributors may be used to endorse or promote products derived
+ ** from this software without specific prior written permission.
+ **
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ **
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#import <UIKit/UIKit.h>
+#import <WatchConnectivity/WatchConnectivity.h>
+
+@interface ViewController : UIViewController
+@property (weak, nonatomic) IBOutlet UITextField *hostNameTextField;
+@property (weak, nonatomic) IBOutlet UITextField *portTextField;
+@property (weak, nonatomic) IBOutlet UIButton *applyButton;
+
+@end
+
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/ViewController.m b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/ViewController.m
new file mode 100644
index 000000000..0d00acc30
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/ViewController.m
@@ -0,0 +1,95 @@
+/****************************************************************************
+ **
+ ** Copyright (C) 2016 The Qt Company Ltd.
+ ** Contact: https://www.qt.io/licensing/
+ **
+ ** This file is part of the Qt3D module of the Qt Toolkit.
+ **
+ ** $QT_BEGIN_LICENSE:BSD$
+ ** Commercial License Usage
+ ** Licensees holding valid commercial Qt licenses may use this file in
+ ** accordance with the commercial license agreement provided with the
+ ** Software or, alternatively, in accordance with the terms contained in
+ ** a written agreement between you and The Qt Company. For licensing terms
+ ** and conditions see https://www.qt.io/terms-conditions. For further
+ ** information use the contact form at https://www.qt.io/contact-us.
+ **
+ ** BSD License Usage
+ ** Alternatively, you may use this file under the terms of the BSD license
+ ** as follows:
+ **
+ ** "Redistribution and use in source and binary forms, with or without
+ ** modification, are permitted provided that the following conditions are
+ ** met:
+ ** * Redistributions of source code must retain the above copyright
+ ** notice, this list of conditions and the following disclaimer.
+ ** * Redistributions in binary form must reproduce the above copyright
+ ** notice, this list of conditions and the following disclaimer in
+ ** the documentation and/or other materials provided with the
+ ** distribution.
+ ** * Neither the name of The Qt Company Ltd nor the names of its
+ ** contributors may be used to endorse or promote products derived
+ ** from this software without specific prior written permission.
+ **
+ **
+ ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
+ **
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
+
+#import "ViewController.h"
+
+@interface ViewController () <WCSessionDelegate>
+
+@end
+
+@implementation ViewController
+
+- (void)session:(WCSession *)session activationDidCompleteWithState:(WCSessionActivationState)activationState error:(NSError *)error {
+
+}
+
+- (void)sessionDidBecomeInactive:(WCSession *)session {
+
+}
+
+- (void)sessionDidDeactivate:(WCSession *)session {
+
+}
+
+- (void)viewDidLoad {
+ [super viewDidLoad];
+ // Do any additional setup after loading the view, typically from a nib.
+
+ if ([WCSession isSupported]) {
+ WCSession *session = [WCSession defaultSession];
+ session.delegate = self;
+ [session activateSession];
+ }
+}
+
+- (IBAction)applyButtonClicked:(id)sender {
+ if ([[WCSession defaultSession] isReachable]) {
+ NSDictionary *dictionary = @{
+ @"host" : [self.hostNameTextField text],
+ @"port" : [self.portTextField text]
+ };
+
+ [[WCSession defaultSession] sendMessage:dictionary
+ replyHandler:^(NSDictionary *replyHandler) {}
+ errorHandler:^(NSError *error) {}];
+ }
+}
+
+@end
diff --git a/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/main.m b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/main.m
new file mode 100644
index 000000000..22b991ddd
--- /dev/null
+++ b/examples/qt3d/planets-qml/planets-watchos/PlanetsClient/main.m
@@ -0,0 +1,16 @@
+//
+// main.m
+// PlanetsClient
+//
+// Created by Oleg Yadrov on 10/13/16.
+// Copyright © 2016 Oleg Yadrov. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import "AppDelegate.h"
+
+int main(int argc, char * argv[]) {
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
+ }
+}