Solar is very costly as it is very inefficient (both in power conversion and land use) and requires replacement every 20 years or so due to the slow deterioration of the cells.
You may be thinking of solar to electric, and you are right. I'm thinking of a much simpler system, like a lifeboat emergency desalination unit writ large.