I'm trying to run a web assembly build on a basic hello world arcgis Qt Quick project. Non-ArcGIS projects in Qt Creator build into web assembly fine. It is only when I use the ArcGIS template that I run into issues. I am on macOS (10.14.6) running runtime 100.5 and Qt 5.14.1.
When I look on my PC, the above is true, /Users/jr9128/ArcGIS_SDKs/Qt100.5/sdk/macOS/x64/qml/Esri/ArcGISRuntime/libArcGISRuntimePlugin.a does not exist. Any idea why it is looking there?
The only two places I find that file is...
I tried manually editing the Makefile to point to the iOS/universal location but received an error...
/Users/jr9128/ArcGIS_SDKs/Qt100.5/sdk/iOS/universal/qml/Esri/ArcGISRuntime/libArcGISRuntimePlugin.a: Unknown format, not a static library!
I'm guessing I was barking up the wrong tree when trying that.
Hi Jeremy Roberts,
The ArcGIS Runtime SDK for Qt doesn't support the WebAssmebly target. May I ask what workflow you want to support? We'd like to better understand your workflow so we can evaluate this target for consideration into our SDK.
In our case, we have a highly user-factored Qt Quick based app being used today internally at our org. We chose runtime because eventually we need to support offline. Our client has expressed interest in exposing some version of the same application, possibly read-only and of course not offline, to contractors or others external to our org. We have been asked to do a feasibility experiment with WebAssembly to see if our existing app could be made web based for ease of distribution to folks outside our org. This might have possibly saved us from creating a completely new web app and the look and feel would be identical to what they are already used to. An alternative is to enhance our Qt Quick based app to be distributed to folks outside our org which would mean Apple app store and some sort of Windows download site for the installs, and whatever modifications we'd have to make to the app to satisfy corporate security requirements. Which we can do, but I think our team was curious on if WebAssembly was possible too.
So based on your response and Qt runtime not supporting WebAssembly, I think I have my answer to our feasibility experiment. "Not supported", correct?
Yes, WebAssembly is not supported by the ArcGIS Runtime SDK for Qt.
Thank you for detailing your use case to us. It's valuable to us to know what types of workflows our users want to support so we can evaluate future enhancements.