I have built a Qt C++ application that uses ArcGIS and ArcGIS Toolkit. I have also created a script that does the following:
- Creates a folder called release/
- Uses windeployqt6 to package the executable and its dependencies for deployment in the release/ folder
- Copy-pasting the remaining DLLs that windeployqt6 missed to release/
When I run the executable from the release/ folder on my Windows 10 machine, the application works perfectly. However, if I move the release/ folder that my script created to another Windows 10 computer, the application hangs with this error:
QQmlApplicationEngine failed to load component
qrc:/qml/MyMap.qml:3:1: module "Esri.ArcGISRuntime.Toolkit" is not installed
Can anybody tell me why this isn't working? I'm baffled that it would run completely fine on my machine, but immediately fail on another, very similar machine. I've been struggling with this very hard and would greatly appreciate a solution.