Creating curved labels in QGIS
This OSM guide outlines how to make labels follow line features, in addition to providing good guidance on other common label styling tasks.
The steps are to select the layer labeling settings tab and then select 'advanced' from here you can choose 'curved' labels which follow the contours of a line.