I have a layer showing elevation curves and I'm trying to create an elevation profile using the Terrain Profile plugin. However, I only get a flat line. My guess is that I need to add Z values to the curves. The layer attribute table does have a column with height values(hoyde). 
Can this be done?