Hi,
I tried to integrate the ArcGIS ESRI runtime plugin with my application. I am using Qt 5.15.2 and Arcgis runtime version 100.8 with CMake build system and Compiler MSVC 2019 64bit. I successfully integrate the plugin with my application and works fine when I run the application using Qt Creator.
After I generate the executable using windeployqt and run the executable it shows the following error
QQmlImports(qrc:/qml/esrimap.qml)::addLibraryImport: "QtQuick" 2.6 as ""
QQmlImports(qrc:/qml/esrimap.qml)::importExtension: loaded "D:/LocalRepo/ewGUI_Qt_5.15/deployment/packages/com.vendor.product/data/QtQuick.2/qmldir"
QQmlImports(qrc:/qml/esrimap.qml)::addLibraryImport: "QtQuick.Controls" 2.2 as ""
QQmlImports(qrc:/qml/esrimap.qml)::importExtension: loaded "D:/LocalRepo/ewGUI_Qt_5.15/deployment/packages/com.vendor.product/data/QtQuick/Controls.2/qmldir"
QQmlImportDatabase::registerPluginTypes: "QtQuick.Controls" from "D:/LocalRepo/ewGUI_Qt_5.15/deployment/packages/com.vendor.product/data/QtQuick/Controls.2"
QQmlImports(qrc:/qml/esrimap.qml)::addLibraryImport: "Esri.ArcGISRuntime" 100.8 as ""
QQmlImports(qrc:/qml/esrimap.qml)::importExtension: loaded "C:/Program Files (x86)/ArcGIS SDKs/Qt100.8/sdk/windows/x64/qml/Esri/ArcGISRuntime/qmldir"
qrc:/qml/esrimap.qml:3:1: plugin cannot be loaded for module "Esri.ArcGISRuntime": Cannot load library C:\Program Files (x86)\ArcGIS SDKs\Qt100.8\sdk\windows\x64\qml\Esri\ArcGISRuntime\ArcGISRuntimePlugin.dll: The specified module could not be found.
import Esri.ArcGISRuntime 100.8
But it works on the Qt Creator. The only difference I found is that the ArcGISRuntimePlugin.dll path has "\" instead of "/".How to override this path or How to solve the path issue/loading issue?