> Until it get fixed in GDAL we can use
>
>   if ( GDALGetDriverShortName() == "ECW")
>
> and once you fix that
>
>   #if defined(GDAL_VERSION_NUM) && GDAL_VERSION_NUM < x.x
>       if ( GDALGetDriverShortName() == "ECW")

Seems reasonnable. Except I suggest using a string comparison function and not
== ;-)

Would you mind creating a ticket in GDAL trac about that ?

>
> Radim
>


_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to