Massive star formation in NGC 6946