Hello, I have been having trouble the last few days trying to add the ArcGIS runtime SDK for Qt to a pre-existing project. I have read through the best practices and how to install on windows multiple times but nothing seems to be working. I am new to Qt/QML/etc so I am still learning how everything functions.
.pro file
#<SPAN class="operator token">--</SPAN><SPAN class="operator token">-</SPAN>ESRI Integration <SPAN class="operator token">--</SPAN><SPAN class="operator token">-</SPAN>#
include <SPAN class="punctuation token">(</SPAN><SPAN class="string token">"C:\Program Files (x86)\ArcGIS SDKs\Qt100.8\sdk\ideintegration\arcgis_runtime_qml.pri"</SPAN><SPAN class="punctuation token">)</SPAN>
QML2_IMPORT_PATH<SPAN class="operator token">=</SPAN> <SPAN class="string token">"C:\Program Files (x86)\ArcGIS SDKs\Qt100.8\sdk\toolkit\Import"</SPAN>
QML2_IMPORT_PATH<SPAN class="operator token">=</SPAN> <SPAN class="string token">"C:\Program Files (x86)\ArcGIS SDKs\Qt100.8\sdk\windows\x64\qml"</SPAN>
QML_IMPORT_PATH<SPAN class="operator token">+</SPAN><SPAN class="operator token">=</SPAN> <SPAN class="string token">"C:\Program Files (x86)\ArcGIS SDKs\Qt100.8\sdk\toolkit\Import"</SPAN>
#<SPAN class="operator token">--</SPAN><SPAN class="operator token">-</SPAN>End ESRI Integration <SPAN class="operator token">--</SPAN><SPAN class="operator token">-</SPAN>#<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
I have #include <QQmlEngine> added to my .cpp file as well.
The import Esri.ArcGISRuntime 100.8 statement in my .qml file does not throw an error but in the application output it says module "Esri.ArcGISRuntime" is not installed.
Qt Creator 4.12.4
Based on Qt 5.14.2 (MSVC 2017, 32 bit)
Using Desktop Qt 5.14.2 MSVC2017 64bit to build/run (testing on desktop computer)
If I use the 32bit to build/run I receive an error LNK1104: cannot open file 'EsriCommonQtd.lib'