I'm trying to open ecw images and want to do this with QGIS.

Is there a way that I can do this solely with Homebrew? Or using Homebrew for the most part?

Here you can see that I have install via Homebrew the following things:

osgeo/osgeo4mac/ecwjp2-sdk ✔             osgeo/osgeo4mac/gdal2-ecwjp2 ✔
osgeo/osgeo4mac/gdal2 ✔



But when I try to open a .ecw in QGIS I get the following error:

Invalid Layer: GDAL provider Cannot open GDAL dataset /Users/ciaran/Downloads/cco_data-20181209181928/data/aerial/ST0343_20130822ortho.ecw: `/Users/ciaran/Downloads/cco_data-20181209181928/data/aerial/ST0343_20130822ortho.ecw' not recognized as a supported file format. Raster layer Provider is not valid (provider: gdal, URI: /Users/ciaran/Downloads/cco_data-20181209181928/data/aerial/ST0343_20130822ortho.ecw

I really would prefer to have all the dependencies handled with brew, but suggestions are welcome!

  • Welcome to GIS SE! As a new user, please be sure to take the tour to learn about this site's focused Q&A format.
    – Andy
    Dec 10, 2018 at 18:43
  • Thanks! Will do, hoping someone has a solution, been doing my head in! Dec 10, 2018 at 18:49

1 Answer 1


After some further work, I've found a solution.

I've written it up here if anyone else ever finds themselves struggling:

How to add .ecw reading capability to QGIS3 on MacOS

  • 1
    Hi Ciaran Evans, please include the essential parts to your answer here, links might die, so link only answers are seen as NAA (not an an answer on SE sites) and will will usually get deleted.
    – bummi
    Dec 10, 2018 at 20:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.