Re: Qgis-user Digest: Building attribute table in QGIS (badri)
You can convert raster to xyz layer using processing tool. I do this and choose csv option. Be warned this is going to be huge depending on your raster size. There may be other methods but this is what I use.