Further fixes to compilation when QCommandLineParser exists.