I'd think that welding would be the sensible route if you're just doing one, as long as it's made sturdy enough. Casting the whole frame in one piece makes more sense if you're mass-producing pianos. Also, it's traditional. I don't know what welding equipment was like a hundred plus years ago during the piano-manufacturing boom, but casting piano frames was a well-honed art.