Don't use QCommandLineParser, it is a Qt 5.2 API
Fix build with Qt 5.1

Apparently, QVariant as key type in QMap doesn't work well.