POST
|
Problem was solved. Here is below in Qt forum link: https://forum.qt.io/topic/140714/ios-appstore-trouble-with-cfbundleiconname-and-asset-catalog-something-to-do-with-xcode-14-1-and-ios-16-1-sdk/5
... View more
11-22-2022
06:10 AM
|
0
|
0
|
1560
|
POST
|
Hi @Tanner_Yould, I am writing about this issue in the Qt forum and other different forums.Doesn't a Qt application written as a team using Arcgis Runtime for Qt have a standard for porting it to the apple store? For example, which icon standards or config do you use to transfer to apple store? I'm waiting for more details on this. I added it to the Info.plist file as follows: <key>CFBoundleIconName</key> <string>AppIcon</string> Do we need to write "AppIcon" in the red square in the Picture below? In the Icon part, I added a 120x120 pixel file named "Icon_120x120.png" (with bold font in Info.plist file ) and "Icon_App-1024x1024@1x.png" file for iphone and called it in the "Info.plist" and "Contents.json" file as follows. Info.plist file: <key>CFBundleIcons</key> <dict> <key>CFBundlePrimaryIcon</key> <dict> <key>CFBundleIconFiles</key> <array> <string>Icon_29.png</string> <string>Icon_40.png</string> <string>Icon_50.png</string> <string>Icon_57.png</string> <string>Icon_58.png</string> <string>Icon_72.png</string> <string>Icon_76.png</string> <string>Icon_80.png</string> <string>Icon_100.png</string> <string>Icon_114.png</string> <string>Icon_120.png</string> <string>Icon_120x120.png</string> <string>Icon_144.png</string> <string>Icon_152.png</string> </array> </dict> </dict> I didn't know if the <key>CFBundle Icons</key> and <key>CFBundle Icons~ipad</key> sections and the icon names in it should be included in the Info.plist file or should I delete it? Because they suggested deleting it from the Info.plist file below in a document. <key>CFBundleIconFile</key> <key>CFBundleIcons</key> Contents.json file { "size" : "120x120", "idiom" : "iphone", "filename" : "Icon_120x120.png", "scale" : "2x" } The following mandatory ios-marketing icon has also been added to the Contents.json file: { "size" : "1024x1024", "idiom" : "ios-marketing", "filename" : "Icon_App-1024x1024@1x.png", "scale" : "1x" } Even though I edited the above parts, I still get the same error. Am I missing something somewhere, can you help? Finally, shall we add or delete lines of code from the iOS.pri or MyProject.pro files? as follows: QMAKE_ASSET_CATALOGS = $$PWD/ios/Images.xcassets QMAKE_ASSET_CATALOGS_APP_ICON = “AppIcon”
... View more
11-15-2022
03:26 AM
|
0
|
1
|
1616
|
POST
|
Hi, I developed a Routing Map ( using Arcgis Runtime sdk for QT ) application in Qt (5.15.2 for iOS) for iOS devices on a MacBook computer. I am getting an error while uploading the Qt application after product with archive in Xcode to Apple Sore. I don't have any problems with the Xcode 14.1 (Code Signing Identity : Apple Distribution : My Development Team, Code Signing Style : Manual, Provisioning profile : Compatible with the team) part, but can you help me solve the error that I think is related to the Qt application icons or icons files? If this doesn't solve the problem, the app won't be uploaded to the app store, can you help? Here is error picure below: XCode Deployment Infor and App Icons and Launch Screen picture below: Here is also QT İOS folder structure and files : Info.plist file: <?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>CFBundleDisplayName</key> <string>My App Name</string> <key>CFBundleExecutable</key> <string>My App Name</string> <key>CFBundleGetInfoString</key> <string>ArcGIS</string> <key>CFBundleIcons</key> <dict> <key>CFBundlePrimaryIcon</key> <dict> <key>CFBundleIconFiles</key> <array> <string>Icon_29.png</string> <string>Icon_40.png</string> <string>Icon_50.png</string> <string>Icon_57.png</string> <string>Icon_58.png</string> <string>Icon_72.png</string> <string>Icon_76.png</string> <string>Icon_80.png</string> <string>Icon_100.png</string> <string>Icon_114.png</string> <string>Icon_120.png</string> <string>Icon_144.png</string> <string>Icon_152.png</string> </array> </dict> </dict> <key>CFBundleIcons~ipad</key> <dict> <key>CFBundlePrimaryIcon</key> <dict> <key>CFBundleIconFiles</key> <array> <string>Icon_29.png</string> <string>Icon_40.png</string> <string>Icon_50.png</string> <string>Icon_57.png</string> <string>Icon_58.png</string> <string>Icon_72.png</string> <string>Icon_76.png</string> <string>Icon_80.png</string> <string>Icon_100.png</string> <string>Icon_114.png</string> <string>Icon_120.png</string> <string>Icon_144.png</string> <string>Icon_152.png</string> </array> </dict> </dict> <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>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.0</string> <key>LSRequiresIPhoneOS</key> <true/> <key>NOTE</key> <string>Built with ArcGIS Runtime SDK for Qt.</string> <key>NSLocationAlwaysUsageDescription</key> <string></string> <key>NSLocationWhenInUseUsageDescription</key> <string></string> <key>UIFileSharingEnabled</key> <true/> <key>UILaunchStoryboardName</key> <string></string> <key>UIRequiresFullScreen</key> <true/> <key>UIRequiresPersistentWiFi</key> <string>NO</string> <key>UIStatusBarStyle</key> <string></string> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> </array> </dict> </plist> Contents.js file : { "images" : [ { "size" : "29x29", "idiom" : "iphone", "filename" : "Icon_29.png", "scale" : "1x" }, { "size" : "29x29", "idiom" : "iphone", "filename" : "Icon_58.png", "scale" : "2x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "Icon_80.png", "scale" : "2x" }, { "size" : "57x57", "idiom" : "iphone", "filename" : "Icon_57.png", "scale" : "1x" }, { "size" : "57x57", "idiom" : "iphone", "filename" : "Icon_114.png", "scale" : "2x" }, { "size" : "60x60", "idiom" : "iphone", "filename" : "Icon_120.png", "scale" : "2x" }, { "size" : "29x29", "idiom" : "ipad", "filename" : "Icon_29.png", "scale" : "1x" }, { "size" : "29x29", "idiom" : "ipad", "filename" : "Icon_58.png", "scale" : "2x" }, { "size" : "40x40", "idiom" : "ipad", "filename" : "Icon_40.png", "scale" : "1x" }, { "size" : "40x40", "idiom" : "ipad", "filename" : "Icon_80.png", "scale" : "2x" }, { "size" : "50x50", "idiom" : "ipad", "filename" : "Icon_50.png", "scale" : "1x" }, { "size" : "50x50", "idiom" : "ipad", "filename" : "Icon_100.png", "scale" : "2x" }, { "size" : "72x72", "idiom" : "ipad", "filename" : "Icon_72.png", "scale" : "1x" }, { "size" : "72x72", "idiom" : "ipad", "filename" : "Icon_144.png", "scale" : "2x" }, { "size" : "76x76", "idiom" : "ipad", "filename" : "Icon_76.png", "scale" : "1x" }, { "size" : "76x76", "idiom" : "ipad", "filename" : "Icon_152.png", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } } iOS.pri file : INCLUDEPATH += $$PWD DEPENDPATH += $$PWD ios_icon.files = $$files($$PWD/Images.xcassets/AppIcon.appiconset/Icon_*.png) QMAKE_BUNDLE_DATA += ios_icon OTHER_FILES += $$PWD/Info.plist $$PWD/Images.xcassets/AppIcon.appiconset/Contents.json QMAKE_INFO_PLIST = $$PWD/Info.plist My App.pro file: mac { cache() } #------------------------------------------------------------------------------- CONFIG += c++14 ANDROID_MIN_SDK_VERSION = 21 ANDROID_TARGET_SDK_VERSION = 30 # additional modules are pulled in via arcgisruntime.pri QT += qml quick ARCGIS_RUNTIME_VERSION = 100.14.1 include($$PWD/arcgisruntime.pri) TEMPLATE = app TARGET = My App Name equals(QT_MAJOR_VERSION, 5) { lessThan(QT_MINOR_VERSION, 15) { error("$$TARGET requires Qt 5.15.2") } equals(QT_MINOR_VERSION, 15) : lessThan(QT_PATCH_VERSION, 2) { error("$$TARGET requires Qt 5.15.2") } } #------------------------------------------------------------------------------- SOURCES += \ main.cpp RESOURCES += \ qml/qml.qrc \ Resources/Resources.qrc OTHER_FILES += \ wizard.xml \ wizard.png #------------------------------------------------------------------------------- win32 { include (Win/Win.pri) } macx { include (Mac/Mac.pri) } ios { include (iOS/iOS.pri) } android { include (Android/Android.pri) } android: include(C:/Users/user/AppData/Local/Android/Sdk/tools/android_openssl/openssl.pri) DISTFILES += \ Android/AndroidManifest.xml \ Android/build.gradle \ Android/gradle.properties \ Android/gradle/wrapper/gradle-wrapper.jar \ Android/gradle/wrapper/gradle-wrapper.properties \ Android/gradlew \ Android/gradlew.bat \ Android/res/values/libs.xml \ Android/res/values/strings.xml
... View more
11-13-2022
04:35 AM
|
0
|
3
|
2174
|
POST
|
Hi @Tanner_Yould After the above changes I uninstall and Install again Qt 5.15.2 version and probem was solved . Thanks
... View more
11-09-2022
10:15 PM
|
0
|
0
|
1074
|
POST
|
Thanks @MichaelBranscomb problem was solved. I followed the method you suggested and the problem was solved. The codes I use are as follows: Feature Layers definition: FeatureLayer { id: roadsFeatureLayer visible:false ServiceFeatureTable { id: roadsFeatureTable url: "https://......./arcgis/rest/services/../.../MapServer/0" featureRequestMode: Enums.FeatureRequestModeManualCache } } FeatureLayer { id: closedRoadsFeatureLayer visible:false ServiceFeatureTable { id: closedRoadsFeatureTable url: "https://......./arcgis/rest/services/../.../MapServer/1" featureRequestMode: Enums.FeatureRequestModeManualCache } } Query parameter for feature layer tables: QueryParameters { id: params whereClause: "1=1" } İdentify Query Layers with mouse clicked: onMouseClicked: { const screenX = mouse.x; const screenY = mouse.y; const tolerance = 12; const returnPopups = false; const maxResults = 1; mainViewObj.identifyLayersWithMaxResults(screenX, screenY, tolerance, returnPopups, maxResults); } Query feature Layer Tables with enable /disable Images with click event buttons: Image { id: roads_img source: favorite ? "/Resources/ky_a.png" : "/Resources/ky_k.png" enabled: roadsFeatureTable.loadStatus === Enums.LoadStatusLoaded height: 45 width: 45 fillMode: Image.PreserveAspectFit anchors { top: mainViewObj.top right:mainViewObj.right topMargin: 10 rightMargin: 10 } property bool favorite : false MouseArea{ anchors.fill: parent onClicked: { roads_img.favorite = !roads_img.favorite if(roads_img.favorite==true){ roadsFeatureLayer.visible=true roadsFeatureTable.populateFromService(params, true, ["*"]); } else roadsFeatureLayer.visible=false } } } Image { id: closedRoads_img source: favorite ? "/Resources/cls_ky_a.png" : "/Resources/cls_ky_k.png" enabled: closedRoadsFeatureTable.loadStatus === Enums.LoadStatusLoaded height: 45 width: 45 fillMode: Image.PreserveAspectFit anchors { top: mainViewObj.top right:mainViewObj.right topMargin: 10 rightMargin: 10 } property bool favorite : false MouseArea{ anchors.fill: parent onClicked: { closedRoads_img.favorite = !closedRoads_img.favorite if(closedRoads_img.favorite==true){ closedRoadsFeatureLayer.visible=true closedRoadsFeatureTable.populateFromService(params, true, ["*"]); } else closedRoadsFeatureLayer.visible=false } } }
... View more
11-06-2022
03:08 AM
|
1
|
0
|
834
|
POST
|
Hi , Firstly I will trying to build with the ArcGIS Runtime SDK for Qt, but I haven't gotten to that stage yet, first of all, I couldn't compile a simple qt application ( 5.15.2 for iOS). I update my code to Xcode 14.1 version. After that I run sudo xcode-select --switch /Applications/xcode_14_0_1.app/Contents/Developer line in terminal. As a result, the error did not change but the warning changed as picture below: Qt compile output section: xcodebuild -showsdks picure: Qt kits paths: I installed the highest version of XCode (14.1). Do I need to install anything else? How should I solve the problem? Thanks
... View more
11-04-2022
06:01 AM
|
0
|
0
|
1172
|
POST
|
Hi, @AlessioWilliamsGava no, for all ios versions supported in the App Store.My current Xcode version now is 13.3.1. Will it be solved if I install Xcode 14.1 version? Because it seems that the xcode 13 version is sufficient for QT 5.15 as in the link: QT 5.15 for ios
... View more
11-03-2022
04:49 AM
|
0
|
2
|
1209
|
POST
|
Hi, I want to develop a Map ( using Arcgis Runtime sdk for QT ) application in Qt (5.15.2 for iOS) for iOS devices on a MacBook computer, but before I move on to it, I get an error to compile a simple application. How can I fix it? Error , Compile Output picture and Xcode command Line tools version is as follows:
... View more
11-03-2022
01:11 AM
|
0
|
6
|
1275
|
POST
|
Thanks LucasDanzinger problem was solved 🙂 I deselect x86 architectures from build settings in QT and removed ANDROID_ABIS x86 parameter from "arcgis_runtime_qml.pri" file after rebuild was solved. The usage in arcgis_runtime_qml.pri is as follows: android { message("ArcGIS Runtime for Android ("$$QT_ARCH")") PLATFORM = "android" ANDROID_ABIS = arm64-v8a armeabi-v7a }
... View more
11-02-2022
04:07 AM
|
0
|
0
|
836
|
POST
|
Hi Lucas, I tried only check 'armeabi-v7a' and 'arm64-v8a' and leave 'x86' and 'x86_64' unchecked but again I got the same error 😞 When I checked inside the build folder during compilation, I observed that the x86 folder was created automatically.In addition, the content of the "architectures" property in the android-AppName-deployment-settings.json file is as follows: "architectures": {"arm64-v8a":"aarch64-linux-android", "armeabi-v7a":"arm-linux-androideabi", "x86":"i686-linux-android"} Build Folder : When the build process is completed, there is an x86 folder in the base\lib folder in .aab as seen below: If we are not going to use x86 architecture in solving the problem, how can we prevent it from coming automatically?To fix the problem, should the x86 folder not appear here? In addition, there are x86 files in the "Include prebuild OpenSSL libraries" section in the Add-on libraries section.Will x86 ones be deleted?
... View more
10-31-2022
12:18 PM
|
0
|
1
|
870
|
POST
|
Hi, I using ArcGIS_Runtime_SDK_Qt_Windows_100_14_01 sdk. Im using Qt Creator 7.0.2 Based on Qt 6.2.3 (MSVC 2019, 64 bit) and Kits Qt 5.15.2 (Android Clang Multi -Abi and MinGW 64-bit ) . I am uploading the new qt application (.aab file) to an old android application to google play console as an update.I get the error in the image below in the review and publish section: Here is also more detail link below for google play: Learn More As a result of my research, I was advised to try to build the App without x86-Architecture. I Selected ABIs in Qt Creator as follows but the result did not change: Also, I opened my .aab file as .rar file in the lib folder 3 architectures includes as in the picture below: Probably needed ArcGIS libraries for architectures other than armeabi-v7a.For example like compiling ArcGIS in 64 bit (arm64-v8a) . If this is the problem how to do this compilation in version 5.15.2 ? Can you help? Here is my Android kit detay below: Here is also C compiler options from Combobox are also below:
... View more
10-30-2022
06:36 AM
|
0
|
3
|
1131
|
POST
|
Hi, I edited the method and even removed the method completely, instead I used count (const count=result.geoElements.length) in a different way, but the same result still persists 😞 At the same time, during the tests, it finds the value of the randomly (e.g. feature above a road in a in different place) found feature in the identify query and the feature is lost. Sometimes, the feature disappears before the attribute are found, sometimes it works properly, in short, it is not stable. Feature sometimes comes back after operations like zoom in/out after feature is lost.Can we come up with a solution to renew (using resetFeaturesVisible() , resetRenderer() metods or zooming in a little) the FeatureLayer to solve the problem? It is an important problem for us to see the details of the closed roads in traffic, in order to avoid traffic accidents.Can you help for solving problem ? Thanks
... View more
10-04-2022
01:37 AM
|
0
|
0
|
1193
|
POST
|
Hi , I clear ListModel before identify result . I use ListModel to appear on Dialog . I open the dialog with the open() method after filling Feature(result from identify) value in List Model . Here is codes below: ListModel { id:fieldsModel } Dialog { id: identifyDialog title:"Yol Bilgisi" modality: Qt.NonModal contentItem: Rectangle { id: dialogRectangle border.color: "black" border.width: 3 radius: 10 color: "white" width : 375 * scaleFactor height: 250 *scaleFactor Column { id: identifyColumn anchors { fill: parent topMargin: 20 * scaleFactor bottomMargin: 10 * scaleFactor leftMargin:10 * scaleFactor rightMargin: 10 * scaleFactor } spacing: 5 * scaleFactor clip: true Repeater { model: fieldsModel clip: true Row { id: row spacing: 2 Label { id: nameLabel text: name + ": " font.bold:true color: "black" horizontalAlignment: Text.AlignLeft font.pixelSize: 12 * scaleFactor } Label { text: value width:(345*scaleFactor)-nameLabel.width color: "black" horizontalAlignment: Text.left font.pixelSize: 12 * scaleFactor wrapMode: Text.WordWrap } } } }
... View more
10-03-2022
11:24 AM
|
0
|
0
|
1227
|
POST
|
Hi, I using ArcGIS_Runtime_SDK_Qt_Windows_100_14_1 sdk. Im using Qt Creator 7.0.2 Based on Qt 6.2.3 (MSVC 2019, 64 bit) and Kits Qt 5.15.2 (Android Clang Multi -Abi and MinGW 64-bit ) . When I want to query two layers in an identify query ( mapView.identifyLayersWithMaxResults) , feature disappears. This event happens in some cases. As a result of the query identifyLayersResults lenght is 0 and I am not getting any error.How can I solve this problem ? Below is the video taken during Identify: All the codes used are as follows: KgmMapObject.qml import QtQuick 2.6 import QtQuick.Controls 2.2 import Esri.ArcGISRuntime 100.14 Rectangle { id: appWindowObj clip: true property string msgText: "" MapView { id:mainViewObj anchors.fill: parent attributionTextVisible:false // set focus to enable keyboard navigation Component.onCompleted: { forceActiveFocus(); } Map { Basemap { WebTiledLayer { templateUrl: "http://.../wmts/.../gm_grid/{level}/{col}/{row}.png" } } FeatureLayer { ServiceFeatureTable { url: "https://.../arcgis/rest/services/.../FeatureServer/0" } } FeatureLayer { ServiceFeatureTable { url: "https://.../arcgis/rest/services/.../FeatureServer/1" } } ViewpointCenter { Point { x: 3894007.968960 y: 4749476.7008 spatialReference: SpatialReference { wkid: 3857 } } targetScale: 7000000 } } onMouseClicked: { const screenX = mouse.x; const screenY = mouse.y; const tolerance = 12; const returnPopups = false; const maxResults = 1; mainViewObj.identifyLayersWithMaxResults(screenX, screenY, tolerance, returnPopups, maxResults); } // handle the identify results onIdentifyLayersStatusChanged: { if (identifyLayersStatus !== Enums.TaskStatusCompleted) return; msgText = ""; const results = mainViewObj.identifyLayersResults; for (let i = 0; i < results.length; i++) { const result = results[i]; const count = geoElementsCountFromResult(result); const layerName = result.layerContent.name; msgText += "%1 : %2".arg(layerName).arg(count); // add new line character if not the final element in array if (i !== results.length) msgText += "\n"; } if (msgText.length > 0) msgDialog.open(); } onErrorChanged: { if (error) { console.log("error:", error.message, error.additionalMessage) msgText=error.message+" "+error.additionalMessage; msgDialog.open(); } } } function geoElementsCountFromResult(layerObjResult) { const tempResults = [layerObjResult]; let count = 0; let index = 0; while (index < tempResults.length) { const identifyResult = tempResults[index]; count += identifyResult.geoElements.length;if (identifyResult.sublayerResults.length > 0) { tempResults.push(identifyResult.sublayerResults[index]); } index += 1; } return count; } Dialog { id: msgDialog modal: true x: Math.round(parent.width - width) / 2 y: Math.round(parent.height - height) / 2 standardButtons: Dialog.Ok property alias text : textLabel.text Text { id: textLabel text: msgText } } } main.qml import QtQuick 2.12 import QtQuick.Controls 2.12 ApplicationWindow { id: window width: 360 height: 520 visible: true KgmMapObject{ id: kgmMapObj anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom visible: true } } The content of one of the FeatureServices used is below as an image:
... View more
10-03-2022
06:20 AM
|
0
|
7
|
1297
|
POST
|
Thanks for answering Gela. Not found Toolkit problem was solved but I can't build my app. Here is problems below in picture.
... View more
09-28-2022
02:00 AM
|
0
|
1
|
1211
|
Title | Kudos | Posted |
---|---|---|
1 | 11-06-2022 03:08 AM | |
1 | 08-17-2022 12:00 AM | |
1 | 09-26-2017 05:41 AM |
Online Status |
Offline
|
Date Last Visited |
12-14-2022
12:38 AM
|