Please find attached my WIP patchset. With this patchset, qgis builds and runs successfully. Pending work includes - get libgeotiff tests working - get qgis tests working - double check qgis license field