From e3477b8966c3d11d87aa340dd74cb067133a5d3b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 15 Jan 2025 19:22:02 +0100 Subject: [PATCH] QgsVectorFileWriterMetadataContainer: remove FileGDB (SDK based) driver from proposed list if GDAL >= 3.11 In GDAL 3.11, write support of the FileGDB driver will go through the OpenFileGDB one, so no need to propose it and confuse users. Cf https://github.com/OSGeo/gdal/pull/11662 --- src/core/qgsvectorfilewriter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/qgsvectorfilewriter.cpp b/src/core/qgsvectorfilewriter.cpp index 91e12afce66b..b079ca7c5857 100644 --- a/src/core/qgsvectorfilewriter.cpp +++ b/src/core/qgsvectorfilewriter.cpp @@ -2251,6 +2251,7 @@ class QgsVectorFileWriterMetadataContainer ) ); +#if GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(3,11,0) // ESRI FileGDB (using ESRI FileGDB API SDK) datasetOptions.clear(); layerOptions.clear(); @@ -2282,6 +2283,7 @@ class QgsVectorFileWriterMetadataContainer QStringLiteral( "UTF-8" ) ) ); +#endif // XLSX datasetOptions.clear();