I know there are similar questions here, but I've tried every answer and every tutorial I could find, and I still can't open ECW with QGIS (and I kind of broke my qgis install? When I try to install QGIS I have dependancy errors for qgis-providers, qgis-plugin-grass and python-qgis now). I use Ubuntu 20.04 and QGIS 3.24.1.
I compiled GDAL with ECW support, which seems to work fine as
gdalinfo --formats | grep ECW
gives
ECW -raster- (rw+): ERDAS Compressed Wavelets (SDK 5.4)
JP2ECW -raster,vector- (rw+v): ERDAS JPEG2000 (SDK 5.4)
But I don't know how to make QGIS use the version that I compiled. gdalinfo --version
gives me GDAL 2.3.2, released 2018/09/21
but when I go to the QGIS details it says QGIS is using GDAL 3.0.4. I also tried one of the tutorials from a clean Ubuntu install (on a virtual box) and it still didn't work. I don't know what I'm doing wrong but I'm not really used to dealing with these kinds of things so potentially I am doing some things wrong. I also read somewhere that I should try to compile QGIS with my GDAL install but I have no idea how to do that.