From ce111dffa48ba42ec00bd193fadd4c4a8873a15e Mon Sep 17 00:00:00 2001 From: twi-devel Date: Wed, 7 Oct 2026 12:50:15 +0200 Subject: [PATCH] Bugfixes ArcGIS installation: license issue --- .../qt6-migrated-legatus/install_arcgis.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/qt6-after/qt6-migrated-legatus/install_arcgis.sh b/qt6-after/qt6-migrated-legatus/install_arcgis.sh index 3c2edf883..30a7fd976 100755 --- a/qt6-after/qt6-migrated-legatus/install_arcgis.sh +++ b/qt6-after/qt6-migrated-legatus/install_arcgis.sh @@ -47,4 +47,22 @@ else ls -la "${ARCGIS_DEST}/" || true fi +# Run configure.sh to properly set up the SDK +# According to README.txt, this is required after extracting/copying the SDK +CONFIGURE_SCRIPT="${ARCGIS_DEST}/MapsSDK_Qt_300.0.0/ArcGIS_Maps_SDK_Qt_300.0.0/configure.sh" +if [ -x "${CONFIGURE_SCRIPT}" ]; then + echo "=== Running ArcGIS SDK Configuration ===" + echo "Running configure.sh with -a flag to accept EULA for headless install" + + # Run configure.sh with -a to accept EULA automatically (headless install) + # The -np flag skips postInstall.sh which integrates with Qt Creator + # Remove -np if Qt Creator integration is needed + "${CONFIGURE_SCRIPT}" -a -np + + echo "✓ ArcGIS SDK configuration complete" +else + echo "WARNING: configure.sh not found or not executable at ${CONFIGURE_SCRIPT}" + echo "SDK may not be properly configured for use" +fi + echo "=== ArcGIS SDK Setup Complete ===" \ No newline at end of file