Not really. Solving the world's energy problem is not as simple as installing solar power cells in the desert. Other electricity sources such as and hydropower plants, uranium fission reactors, and geothermal stations are going to continue to play an important role in the future. However, the ultimate solution to the world's energy problem is nuclear fusion. There is such an abundance of hydrogen and helium resources available to us that nuclear fusion will allow us to satisfy all our energy needs indefinitely.
There are several problems with this solution. Firstly, the materials for building a solar cell array requires burning 3% as much coal as would be burned in generating an equivalent quantity of electricity from a coal-burning power plant. Furthermore, there are several poisonious chemicals used in constructing solar cells such as s hydrofluoric acid, boron trifluoride, arsenic, cadmium, tellurium, and selenium compounds. Secondly, once we have manufactured solar cells we will have to transport them to the Sahara for deployment and we will need to layout a line of transportation to centers of use. Finally, these cells will require active maintenance and protection from damaging desert sand storms. In the below article, Dr. Bernard Cohen describes why although solar power is a good supplementary electricity source it will never be primary:
http://www.phyast.pitt.edu/~blc/book/chapter14.html
THE SOLAR DREAM
One final point of public misunderstanding is the widespread impression that solar electricity will soon be replacing nuclear power, so there is no need to bother with nuclear energy. There are vociferous political organizations pushing this viewpoint, and a substantial portion of the public seems to be largely convinced that our primary source of electricity in the next century will be solar.
As a frequent participant in meetings on energy technology, I have come to know several solar energy experts, but I have yet to meet one who shares the above opinion. Their professional lives are devoted to development of solar electricity, and most of them are very enthusiastic about its future. Nevertheless, they have encouraged me in my efforts on behalf of nuclear power, saying frankly that the public's expectations for solar power are unrealistic. They foresee its future, at least for the near term, as a
supplement to other technologies, with advantages in certain situations, rather than as the principal power source for an industrialized society. My purpose here is to explain why that is so.