Select to view content in your preferred language

creating installer fails after adding ArcGis in a qt 6.6.3 QGroundControl project

268
1
02-16-2025 04:08 PM
Labels (2)
iurai
by
New Contributor

Hi, I have added ArcGis 3d maps in a qt 6.6.3 QGroundControl project, app runs fine, but if I want to create the .appimage, and I add "--install" as an argument, It fails and I get the issue: file paths to dependencies are not supported". I must specify that the arcgis sdk is located in another folder outside of qgroundcontrol projects folder. Can anyone help me? Thanks!

I am including the ArcGis module this way:
in project's CMakeLists.txt:

"list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/src/Arcgis_3d_cmake/cmake/")"
"find_package(ArcGISRuntime 200.5.0 COMPONENTS REQUIRED Cpp)"

"if(DEFINED ArcGISRuntime_LIBRARIES)
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${ArcGISRuntime_LIBRARIES}
$<TARGET_FILE_DIR:${PROJECT_NAME}>)
endif()"

" PRIVATE
Qt6::Core
Qt6::Quick
Qt6::Multimedia
Qt6::Positioning
Qt6::Sensors
Qt6::WebSockets
ArcGISRuntime::Cpp"

 

0 Kudos
1 Reply
JamesBallard1
Esri Regular Contributor

Hi @iurai. Thanks for reaching out to us.

I've added an internal issue to support the --install cmake workflow. Can you let me know what platform you're deploying on so I can help put together a list of our dependencies for you to deploy?

Generally speaking, it will be this:

  • EsriCommonQt.dll (prefix and extension adjusted for your platform)
  • GPU shaders (for Windows and macOS, not needed on Linux).

 

0 Kudos