|
POST
|
Hey Taner- I searched this in google and came up with a few results. Maybe try adding the following into your pro file, running qmake, and rebuilding? QT += multimedia QTPLUGIN += qavfcamera Otherwise, you might find the Qt forums may be able to help you with this as well - Home | Qt Forum Thanks, Luke
... View more
12-01-2015
10:02 AM
|
1
|
0
|
1081
|
|
POST
|
I don't know what all of the code looks like for this, but it seems like it is "by design" for 10.2.x release of Runtime. The issue is probably that Symbols are value objects, so the binding will not work. Once you set a symbol on a Renderer or a Unique Value Info, it is set. If you then change the original symbol, or if the binding emits that the property updates, it will indeed update the symbol, but that symbol is a copy of the one that is actually applied to the renderer or unique value info. So with that said, the workflow you need to do is every single time the map's rotation changes, update each symbol's rotation to be the same as the map's, then re-set all of the symbols to the renderer. Quite a lot of work for something so simple, but I believe this is how it will have to be done. Our Quartz release will have symbols as references, so if you update the symbol (or use property binding in the case of QML), it will update the symbol, and the renderer will automatically update, as it holds a reference to the original symbol. Hope this helps. -Luke
... View more
11-30-2015
10:06 AM
|
0
|
1
|
4119
|
|
POST
|
Hi Taner, Can you please provide some more details? What issue are you hitting? Is the APK too large for some of the devices? I believe that as long as the device you are using is running whatever version of Android API you built for or higher, it should work (minimum is Android API 16 Jelly Bean System requirements—ArcGIS Runtime SDK for Qt | ArcGIS for Developers ). Thanks, Luke
... View more
11-30-2015
09:52 AM
|
1
|
1
|
1120
|
|
POST
|
What QML components do you see this in? Is it actual labels on the map, or is it QML TextFields, Text, etc? It may be related to [QTBUG-47399] Characters issue on iOS 9 - Qt Bug Tracker -Luke
... View more
11-30-2015
09:48 AM
|
1
|
1
|
1322
|
|
POST
|
Taner, Based on your screenshots, it looks like the service supports it, but the API does not like it for some reason. I recommend you contact Esri support/your Esri distributor to log a bug. This looks like it is an issue on the Qt side. Thanks, Luke
... View more
11-30-2015
09:44 AM
|
1
|
1
|
1495
|
|
POST
|
Our Runtime QML API does not support GP yet. However, we plan to support it in our Quartz release, so until AppStudio is able to move to this, you will need to do what Gareth suggests and perform your own REST request.
... View more
11-25-2015
11:47 AM
|
1
|
15
|
2654
|
|
POST
|
John- I will give you a brief overview of what is happening, but you should consult Qt documentation for further details pertaining to what exactly you need (http://qt.io). AppStudio/Runtime simply extend the Qt framework by creating some custom location related classes, so we won't maintain the kind of detailed documentation that it sounds like you need - The Qt Company should have this type of info. I found the following presentation that might help, but there are surely others out there - https://classes.soe.ucsc.edu/cmps160/Fall10/resources/qtexcerpt.pdf Basically, Qt is a C++ framework that can be compiled across multiple platforms. The goal is to create one interface to program against, and that one interface will go into the different platforms and handle the differences between each. Android apps are typically developed in Java, so in order to talk with functionality implemented through Java, it must go through the Java Native Interface (JNI) and use the Android NDK. iOS apps are developed in Objective C (and Swift), and C++ can directly talk to Objective C. Qt creates a class, for example, a Qt Quick ComboBox, and the underlying code will go through the JNI and create an Android ComboBox (or the equivalent), and into Objective C, and create an iOS ComboBox (or the equivalent), etc for other platforms. QML comes into the picture once the C++ class is developed. It is registered as a QML type, which means it can be declared in QML code. Macros in the C++ class expose properties and methods to be get/set/called from the QML side. QML is built on top of a JavaScript engine, which is where you get the JavaScript syntax from. However, the underlying classes that it is interacting with are actually written in C++, not JavaScript. One thing to note is that QML itself is not actually compiled- the underlying C++ class is compiled, but QML uses Just-in-time compilation technique, which is why AppStudio's player can just load your projects without you needing to actually compile anything. More details about how this works can be found here - Qt Quick Compiler 3.0 This is by no means comprehensive, but hopefully this helps get you on the right track. It also might be worth contacting Qt to try and get some of the specific info you get, or you could try posting on their forums as well. -Luke
... View more
11-25-2015
11:45 AM
|
1
|
0
|
1122
|
|
POST
|
Yea that could work. You could also maybe have some global int that keeps track of the amount of attachments you are going to add. Then, your addAttachment signal handler won't call apply until it matches the total amount.
... View more
11-20-2015
10:25 AM
|
1
|
3
|
4128
|
|
POST
|
Caleb- I'm picturing how the app would work. Are you allowing the user to select potentially several attachments to add to a newly created feature all in the form? If so, are you storing the list of attachments in some other list, and then once your user submits the form, you try to loop through the list and add all of those attachments to the feature all at once? If so, I wonder if a better workflow would be to call addAttachment each time your user selects their attachment. Then once they click submit on the form, you only are really calling apply edits. The issue right now is that you end up in a bit of a race condition because the addattachment finishes for 1, then calls apply edits, then in the mean time, the add attachment finishes for another and tries to call apply edits, but the first apply edits isn't done yet, so it gets rejected. The simplest way around this is to change when/how you are calling addAttachment so it isn't in a loop. If you for some reason need to use this approach, you will likely need to code up some JavaScript that'll make sure to not call apply edits until all of the attachments in the list are successfully added, then call apply edits once all have been successfully added. Thanks, Luke
... View more
11-20-2015
10:02 AM
|
1
|
5
|
4128
|
|
POST
|
Taner, We do not have anything built into the runtime's geometry engine to determine this automatically. You could write your own little algorithm to determine this. I imagine it would involve finding the nearest vertex on the polyline and determining the direction from the point to that vertex, while taking into account the direction which the line is heading. -Luke
... View more
11-19-2015
09:31 AM
|
1
|
0
|
2191
|
|
POST
|
Hisho- I would use the findFeatures method on the FeatureLayer. This will determine feature IDs that you touched with your click event ArcGIS Runtime SDK for Qt QML API: FeatureLayer Class Reference . Then use the feature method on FeatureTable to obtain a feature from a given ID. The resulting feature will have geometry. Once you have obtained the geometry, you can call zoomTo on the map and pass in the geometry ArcGIS Runtime SDK for Qt QML API: Map Class Reference . Thanks, Luke
... View more
11-19-2015
09:19 AM
|
1
|
1
|
925
|
|
POST
|
Next release is 10.4, and that should be out in Q1 of 2016. I am not certain if these changes will make it in on time for this, or if it will need to be added in a subsequent update after this. Thanks, Luke
... View more
11-18-2015
01:05 PM
|
1
|
10
|
3415
|
|
POST
|
In an upcoming release, we plan to allow you to add a tiled map service into ArcMap, and to create a TPK from this. Currently, the analyzer will prevent this from working and will force you to remove the layer from the TOC in order for the TPK to be generated. Thanks, Luke
... View more
11-18-2015
12:05 PM
|
1
|
12
|
3415
|
|
POST
|
For the first issue, is the combo box always filling it with the right number of attachments, only it doesn't display the name? You might need to set up a list view where the delegate accesses the "name" role from the model. For the adding issue, do you get an error when actually adding it, or when you call apply edits? For your importing issue, you will not actually import ArcGIS.Runtime 10.26 if you are using AppStudio. AppStudio bundles the Runtime API into its AppFramework plugin. So the code samples you see from the Runtime SDK can be applied to AppStudio projects, but the import statement will be a bit different. For toggling layers, a QML Checkbox works nicely. You could create a Column full of checkboxes, and then bind the checked property of the Checkbox to the layer's visible property. -Luke
... View more
11-18-2015
11:37 AM
|
1
|
7
|
4128
|
|
POST
|
The Domain is on the Field class. I would use the fields property on FeatureTable base class. This will return a list of Field Objects. You could also use the field property if you know the name of the field already. Once you have access to the Field object, use domain property to get access to the domain and its info (range of values or coded values).
... View more
11-18-2015
11:25 AM
|
1
|
0
|
1059
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 05-27-2026 09:52 AM | |
| 1 | 11-24-2025 10:45 AM | |
| 1 | 07-30-2025 08:26 AM | |
| 1 | 05-15-2025 07:35 AM | |
| 2 | 11-26-2024 01:27 PM |
| Online Status |
Offline
|
| Date Last Visited |
06-17-2026
07:54 AM
|