Handle command line arguments with QCommandLineParser instead of using glib.
Requires Qt >= 5.2.