Create buildXMLbyMap.cpp

It is about how to build a xml using map in the Qt Creator.