Thermal solar energy is a thing. The important part is concentrating the energy with mirrors to reach high temperatures and pressures. They use solar turbines because those are more efficient than steam engines. My understanding is that the efficiency is close to solar panels.
Solar thermal isn't used because solar panels are much cheaper and simpler. In world without cheap solar panels, solar thermal would be preferred form of solar energy, and could be done with advanced technology.