If you wish to fix a bug or add a new feature, follow the instructions here:

https://www.rosegardenmusic.com/wiki/dev:building_rosegarden_from_source

