From the little bit I've read of this thread, it seems that people think Hydrogen is some miracle element. Energy can neither be created nor destroyed. You can't get something for nothing, alot for a little, etc.
Fuel cells are inefficient; approximately 20% of the energy is lost from hydrogen production to load source (engine, light, etc).
If you were to mount solar panels to generate hydrogen, you would be much better off simply routing the electricity generated to batteries/the motor. If using solar power for hydrolysis and burning what is created, you're losing a significant amount of energy in the form of heat.
The best use of hydrogen may be to generate it in a manufacturing plant supplied by renewable resources and to then compress it for use in motor vehicles. It would be dangerous, however. I don't have the confidence in the average person to fill up their car with pressurized Hydrogen. As Youtube can show you, some people can't even fill gasoline correctly.