Skip to content

Commit e753047

Browse files
ldanzingerjared-2016bri12415aji13187JamesMBallard
authored
Updating main branch to 200.5 (#636)
* 200.4.0 -> 200.5.0 version upgrade. * cmake file for the toolkit * toolkit cmake file * include_directories is enough for header files * move some stuff around, account for IOS * modify QML_IMPORT_PATH so qml knows where the module is * Add contributors Add two new contributors to the toolkit readme * Put common needed files in common.cmake, make widgets cmake file, adjust toolkitcpp.cmake * Make the names consistent * update README.md * Add headers to display in IDE. * PR Frank Miller * remove common.cmake, no longer needed. * Do not use file(GLOB... * new line at end of file * match ordering elsewhere * Use functions to assign variables, follow naming pattern for variables * remove common.cmake * Just explicitly list the required files * update README with new instructs * Update docs on location of setup_toolkit call * typo * setup_toolkit -> setup_toolkitwidgets * MyTarget -> target_name to match toolkitcpp.cmake doc * setup_toolkit -> setup_toolkitwidgets * append to QML_IMPORT_PATH * update readme to match template app * nitpick variable/argument highlighting in markdown * James PR * James PR * James PR * Bri12415/toolkit libary cmake (#619) * stash commit, test turning toolkit into library * CMakeLists.txt for the toolkit * copyright * remove comment * QML_IMPORT_PATH * Change project directory structure, toolkitcpp and toolkitwidgets, so each can have CMakeLists.txt * James partial PR: move doc images to og location * Update README.md with new cmake workflows * Move toolkitcpp.pri and toolkitwidgets.pri to original location. Adjust internals for new directory changes. * Toolkit - Update builds and minimum requirements to Qt 6.5.6 (#620) * Update doc (#621) * Reverted xcode, Qt 6.5.6 changes in tookit (#622) * Toolkit - Update builds and minimum requirements to Qt 6.5.6 (#623) * Jared/remove qml (#625) * remove QML examples/tests * remove controllers and qml api * some qml doc fixes, very preliminary * point to cpp references now. * no QML controller anymore. * qml removed, no longer applicable. This is the way... * bye qml * doc updates * remove more qml doc. * Use newer gradle. (#626) * Luca6804/citrav2 doc (#624) * changing text from api key to access token * Update README.md * Update main.cpp * Apply suggestions from code review Co-authored-by: Mary Harvey <mharvey@esri.com> * Apply suggestions from code review Rd 2 Co-authored-by: Don Kemlage <dkemlage@esri.com> --------- Co-authored-by: Mary Harvey <mharvey@esri.com> Co-authored-by: Don Kemlage <dkemlage@esri.com> * Jared/calcite fix (#628) * change map/basemap from qml to c++ * fixing .pri * new c++ class * not needed. * alphabetical * Update calcite-qml/demo/main.cpp Co-authored-by: James Ballard <JamesMBallard@users.noreply.github.com> * review comment. --------- Co-authored-by: James Ballard <JamesMBallard@users.noreply.github.com> * change qAsConst to std::as_const (#629) * Guil8553/5362 remove qml (#627) * remove/rename qml * commit 2 * commit 3 * commit 5 * commit 6 * commit 7 * commit 8 * cmmit 8 * commit 9 * commit 10 * commit 11 * commit 12 * commit 13 * remove comment * fix path to toolkit * remove calcite * cancel change * remove change * cancel calcite changes * remove calcite changes * clean up * rename calcite-qml to calcite * remove unused * fix doc (#630) * fix build (#631) * fix build (#632) * Modify CFBundleDisplayName and CFBundleExecutable Info.plist keys to fix iOS deployment (#633) * fix projects using $$files (#634) * Aji13187/map pin not loaded (#635) * Toolkit Search view pin image not displayed fix * toolkitwidgets files updated * toolkitwidget image added. * review comment fixed * Update CHANGELOG.md --------- Co-authored-by: Jared Caccamo <jcaccamo@esri.com> Co-authored-by: Jared Caccamo <11935261+jared-2016@users.noreply.github.com> Co-authored-by: Brian Noble <bnoble@esri.com> Co-authored-by: Brian Noble <bri12415@esri.com> Co-authored-by: Ajith Challiyil Pulakkatuthodi <123126365+aji13187@users.noreply.github.com> Co-authored-by: James Ballard <JamesMBallard@users.noreply.github.com> Co-authored-by: Mary Harvey <mharvey@esri.com> Co-authored-by: Don Kemlage <dkemlage@esri.com> Co-authored-by: Guillaume Belz <1651508+GuillaumeBelz@users.noreply.github.com> Co-authored-by: Guillaume Belz <GBelz@esri.com>
1 parent 2f4e7e1 commit e753047

File tree

695 files changed

+15128
-9723
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

695 files changed

+15128
-9723
lines changed

.vscode/settings.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cSpell.words": [
33
"ARCGIS",
44
"ARCGISRUNTIME",
5-
"augmentedreality",
5+
"augmented_reality",
66
"Basemap",
77
"Basemaps",
88
"Callout",
@@ -22,9 +22,8 @@
2222
"Struct",
2323
"subclassing",
2424
"toolkitcpp",
25-
"toolkitqml",
2625
"toolkitwidgets",
2726
"uitools"
2827
],
2928
"cSpell.language": "en-US"
30-
}
29+
}

CHANGELOG.md

+6

CONTRIBUTING.md

+1-2

README.md

+2-1

augmented_reality/ArApi/ArApi.pri

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
###############################################################################
2+
# Copyright 2012-2019 Esri
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
###############################################################################
16+
17+
# This configuration file is an internal file.
18+
# To use the AR features of the ArcGIS Runtime Toolkit for Qt,
19+
# uses the files ArApi.pri to use C++ API. See AR.md for details.
20+
21+
isEmpty(ARCGIS_TOOLKIT_PATH) {
22+
error(ARCGIS_TOOLKIT_PATH is not set)
23+
}
24+
25+
AUGMENTED_REALITY_PATH = $$ARCGIS_TOOLKIT_PATH/augmented_reality
26+
27+
AR_API_PATH = $$AUGMENTED_REALITY_PATH/ArApi
28+
AR_API_INCLUDE_PATH = $$AR_API_PATH/include
29+
AR_API_SOURCE_PATH = $$AR_API_PATH/source
30+
AR_API_QML_PATH = $$AR_API_PATH/qml
31+
32+
#-------------------------------------------------
33+
# platform independent configuration
34+
35+
HEADERS += $$files($$AR_API_INCLUDE_PATH/*.h)
36+
SOURCES += $$files($$AR_API_SOURCE_PATH/*.cpp)
37+
RESOURCES += $$files($$AR_API_QML_PATH/*.qrc)
38+
39+
INCLUDEPATH += $$AR_API_INCLUDE_PATH
40+
DEPENDPATH += $$AR_API_INCLUDE_PATH
41+
42+
#-------------------------------------------------
43+
# iOS configuration
44+
45+
ios {
46+
OBJECTIVE_HEADERS += \
47+
$$AR_API_INCLUDE_PATH/iOS/ArKitWrapper.h
48+
49+
OBJECTIVE_SOURCES += \
50+
$$AR_API_SOURCE_PATH/iOS/ArKitWrapper.mm \
51+
$$AR_API_SOURCE_PATH/iOS/ArKitUtils.mm
52+
53+
HEADERS += \
54+
$$AR_API_INCLUDE_PATH/iOS/ArKitFrameRenderer.h \
55+
$$AR_API_INCLUDE_PATH/iOS/ArKitPointCloudRenderer.h \
56+
$$AR_API_INCLUDE_PATH/iOS/ArKitPlaneRenderer.h \
57+
$$AR_API_INCLUDE_PATH/iOS/ArKitUtils.h
58+
59+
SOURCES += \
60+
$$AR_API_SOURCE_PATH/iOS/ArKitFrameRenderer.cpp \
61+
$$AR_API_SOURCE_PATH/iOS/ArKitPointCloudRenderer.cpp \
62+
$$AR_API_SOURCE_PATH/iOS/ArKitPlaneRenderer.cpp
63+
64+
INCLUDEPATH += $$AR_API_INCLUDE_PATH/iOS
65+
DEPENDPATH += $$AR_API_INCLUDE_PATH/iOS
66+
67+
LIBS += -framework ARKit
68+
}
69+
70+
#-------------------------------------------------
71+
# Android configuration
72+
73+
android {
74+
QT += core
75+
76+
HEADERS += \
77+
$$AR_API_INCLUDE_PATH/Android/ArCoreWrapper.h \
78+
$$AR_API_INCLUDE_PATH/Android/ArCoreFrameRenderer.h \
79+
$$AR_API_INCLUDE_PATH/Android/ArCorePointCloudRenderer.h \
80+
$$AR_API_INCLUDE_PATH/Android/ArCorePlaneRenderer.h
81+
82+
SOURCES += \
83+
$$AR_API_SOURCE_PATH/Android/ArCoreWrapper.cpp \
84+
$$AR_API_SOURCE_PATH/Android/ArCoreFrameRenderer.cpp \
85+
$$AR_API_SOURCE_PATH/Android/ArCorePointCloudRenderer.cpp \
86+
$$AR_API_SOURCE_PATH/Android/ArCorePlaneRenderer.cpp
87+
88+
INCLUDEPATH += $$AR_API_INCLUDE_PATH/Android
89+
DEPENDPATH += $$AR_API_INCLUDE_PATH/Android
90+
91+
# Extra files from the ARCore framework (Apache 2.0 licence)
92+
AR_CORE_PATH = $$AR_API_PATH/3rdparty/arcore
93+
AR_CORE_INCLUDE_PATH = $$AR_CORE_PATH/include
94+
AR_CORE_LIBS_PATH = $$AR_CORE_PATH/libs
95+
AR_CORE_GRADLE_PATH = $$AR_CORE_PATH/gradle
96+
97+
HEADERS += \
98+
$$AR_CORE_INCLUDE_PATH/arcore_c_api.h
99+
100+
INCLUDEPATH += $$AR_CORE_INCLUDE_PATH
101+
DEPENDPATH += $$AR_CORE_INCLUDE_PATH
102+
103+
LIBS += -larcore_sdk_c
104+
105+
# only arm64-v8a supported for Android
106+
ANDROID_ABIS = arm64-v8a
107+
LIBS += -L"$$AR_CORE_LIBS_PATH/jni/arm64-v8a"
108+
ANDROID_EXTRA_LIBS += "$$AR_CORE_LIBS_PATH/jni/arm64-v8a/libarcore_sdk_c.so"
109+
}

augmentedreality/Common/qml/CalibrationView.qml renamed to augmented_reality/ArApi/qml/CalibrationView.qml

-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ import QtQuick.Controls
2121
\qmltype CalibrationView
2222
\ingroup ArcGISQtToolkitAR
2323
\ingroup ArcGISQtToolkitARCppApi
24-
\ingroup ArcGISQtToolkitARQmlApi
2524
\ingroup ArcGISQtToolkit
2625
\ingroup ArcGISQtToolkitCppApi
27-
\ingroup ArcGISQtToolkitQmlApi
2826
\inqmlmodule Esri.ArcGISRuntime.Toolkit.AR
2927
\since Esri.ArcGISRutime 100.6
3028
\brief A item displaying controls for adjusting a scene view's location, heading, and elevation.

augmentedreality/Common/qml/ClippingView.qml renamed to augmented_reality/ArApi/qml/ClippingView.qml

-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ import QtQuick.Controls
2121
\qmltype ClippingView
2222
\ingroup ArcGISQtToolkitAR
2323
\ingroup ArcGISQtToolkitARCppApi
24-
\ingroup ArcGISQtToolkitARQmlApi
2524
\ingroup ArcGISQtToolkit
2625
\ingroup ArcGISQtToolkitCppApi
27-
\ingroup ArcGISQtToolkitQmlApi
2826
\inqmlmodule Esri.ArcGISRuntime.Toolkit.AR
2927
\since Esri.ArcGISRutime 100.8
3028
\brief An item displaying controls for adjusting a scene view's clipping distance.

augmentedreality/Common/source/ArcGISArViewInterface.cpp renamed to augmented_reality/ArApi/source/ArcGISArViewInterface.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ namespace Esri::ArcGISRuntime::Toolkit {
3636
\since Esri::ArcGISRuntime 100.6
3737
\brief Base class to impement AR scene view.
3838
39-
This class provides the AR features without using the C++ or QML APIs of the ArcGIS Maps SDK for Qt.
40-
It is used as a base class to create two API-dependent classes: \l ArcGISArSceneView which uses the C++ API and
41-
\l QmlArcGISArSceneView which uses the QML API.
39+
This class provides the AR features without using the C++ API of the ArcGIS Maps SDK for Qt.
40+
It is used as a base class to create the API-dependent classe: \l ArcGISArView which uses the C++ API.
4241
*/
4342

4443
/*!

augmentedreality/Common/source/LocationDataSource.cpp renamed to augmented_reality/ArApi/source/LocationDataSource.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ using namespace Esri::ArcGISRuntime::Toolkit;
2525
\class Esri::ArcGISRuntime::Toolkit::LocationDataSource
2626
\ingroup ArcGISQtToolkitAR
2727
\ingroup ArcGISQtToolkitARCppApi
28-
\ingroup ArcGISQtToolkitARQmlApi
2928
\ingroup ArcGISQtToolkit
3029
\ingroup ArcGISQtToolkitCppApi
31-
\ingroup ArcGISQtToolkitQmlApi
3230
\inmodule ArcGISQtToolkit
3331
\since Esri::ArcGISRuntime 100.6
3432
\brief Updates the location using the positioning device.

augmentedreality/Examples/QmlArExample/Android/build.gradle renamed to augmented_reality/Examples/Android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:7.0.2'
8+
classpath 'com.android.tools.build:gradle:7.4.1'
99
}
1010
}
1111

augmentedreality/Examples/CppArExample/CppArExample.pro renamed to augmented_reality/Examples/ArExample.pro

+13-25
Original file line numberDiff line numberDiff line change
@@ -20,54 +20,42 @@ QT += core gui opengl network positioning sensors qml quick multimedia
2020

2121
CONFIG += c++17
2222

23-
TARGET = CppArExample
23+
TARGET = ArExample
2424

2525
lessThan(QT_MAJOR_VERSION, 6) {
26-
error("This version of the ArcGIS Maps SDK for Qt requires at least Qt 6.5.1")
26+
error("This version of the ArcGIS Maps SDK for Qt requires at least Qt 6.5.6")
2727
}
2828

2929
equals(QT_MAJOR_VERSION, 6) {
3030
lessThan(QT_MINOR_VERSION, 5) {
31-
error("This version of the ArcGIS Maps SDK for Qt requires at least Qt 6.5.1")
31+
error("This version of the ArcGIS Maps SDK for Qt requires at least Qt 6.5.6")
3232
}
33-
equals(QT_MINOR_VERSION, 5) : lessThan(QT_PATCH_VERSION, 1) {
34-
error("This version of the ArcGIS Maps SDK for Qt requires at least Qt 6.5.1")
33+
equals(QT_MINOR_VERSION, 5) : lessThan(QT_PATCH_VERSION, 6) {
34+
error("This version of the ArcGIS Maps SDK for Qt requires at least Qt 6.5.6")
3535
}
3636
}
3737

38-
ARCGIS_RUNTIME_VERSION = 200.4.0
38+
ARCGIS_RUNTIME_VERSION = 200.5.0
3939
include($$PWD/arcgisruntime.pri)
4040

41-
HEADERS += \
42-
AppInfo.h \
43-
CppArExample.h
44-
45-
SOURCES += \
46-
main.cpp \
47-
CppArExample.cpp
48-
41+
HEADERS += $$files($$PWD/*.h)
42+
SOURCES += $$files($$PWD/*.cpp)
4943
RESOURCES += \
5044
qml/qml.qrc \
5145
Resources/Resources.qrc
52-
5346
OTHER_FILES += \
54-
qml/*.qml \
55-
qml/*.js
47+
$$files($$PWD/qml/*.qml) \
48+
$$files($$PWD/qml/*.js)
5649

5750
#-------------------------------------------------------------------------------
5851
# AR configuration
5952

60-
# The path to the ArcGIS runtime toolkit for Qt sources, corresponding to the files downloaded
61-
# from the GitHub repo: https://github.com/Esri/arcgis-maps-sdk-toolkit-qt
53+
ARCGIS_TOOLKIT_PATH = $$absolute_path($$PWD/../../)
6254

63-
ARCGIS_TOOLKIT_PATH = # must be set to the root path of the toolkit folder
64-
65-
isEmpty(ARCGIS_TOOLKIT_PATH) {
66-
error(ARCGIS_TOOLKIT_PATH is not set)
55+
include($$ARCGIS_TOOLKIT_PATH/augmented_reality/ArApi/ArApi.pri) {
56+
error(Fails to open $$ARCGIS_TOOLKIT_PATH/augmented_reality/ArApi/ArApi.pri)
6757
}
6858

69-
include($$ARCGIS_TOOLKIT_PATH/augmentedreality/CppApi/ArCppApi.pri)
70-
7159
#-------------------------------------------------------------------------------
7260

7361
win32 {

0 commit comments

Comments
 (0)