A roof only needs to be a thin piece of sheet metal, weighing somewhere in the neighborhood of 1-2lbs per square foot
Most solar panels are going to weigh somewhere in the neighborhood of 2-4lbs per square foot. So is likely the panel would weigh 2-4 times as much as just a plain metal roof, plus possibly a metal roof under it and/or additional framing to attach the panels to, so power to weight does absolutely come into play.