Use a QMap for InputInfo to keep them ordered