On windows: when selecting "ArcGIS Runtime 100.8 Qt Quick app" from the Qt creator wizard and selecting Cmake as buildssystem, where I set the following Cmake values:
I keep getting the following error during runtime debugging:
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:16 plugin cannot be loaded for module "Esri.ArcGISRuntime": Cannot load library C:\ArcGIS\Qt100.8\sdk\windows\x64\qml\Esri\ArcGISRuntime\ArcGISRuntimePlugind.dll: The specified procedure could not be found.
How can I fix this? Would it be possible to fix this in the "ArcGIS Runtime 100.8 Qt Quick app" template?
Hi there, could you give me
* The version of CMake you are running.
* The version of Qt Creator you are running.
* The Qt version you are building against.
From the phrasing you've used, it sounds as if you setting the `ArcGISRuntime_INSTALL_DIR` and its derived properties manually. Is this the case? Normally these values should be picked up automatically from an INI file in your home folder.
Does the qmake projects template work as you expect?
Do you have openssl (libssl/libcrypto) libraries available on your development machine and are these discoverable by the executable?
Thanks for your fast reply.
qt creator 4.12.0
qt version 5.13.0
The `ArcGISRuntime_INSTALL_DIR` was indeed automatically found, however I needed to define these manually:
Yes, the qmake build system version of the "ArcGIS Runtime 100.8 Qt Quick app" template works perfectly.
I've copied over your settings as given above, but I've not been able to reproduce the problem.
If you need to define your own IMPLIB/LIB paths, this suggets to me that your CMake process is erroring out fairly early on into the process. Possibly the searches are failing?
Would you be able to provide
* The output of the `General Messages` log in Qt Creator when you run CMake for the first time on a new project.
* The contents of <build_folder>/CMakeFiles/CMakeOutput.log
* The contents of <build_folder>/CMakeFiles/CMakeError.log
Interesting, would it be possible to upload your test project so I can see if it work here? Yesterday I tried it on a different pc, unfortunately the same problem. I used the same installation as prior, no luck. Then I uninstalled the sdk en reinstalled it with its default path (c:/program files (x86)/ ... ) however this resulted in the same error.
Which Compiler + version did you use on your tests?
Thanks in advanced!