QApplication takes the command line arguments and parses them itself for some built in command line arguments that it has. We don’t want any of those built in arguments, so instead give it dummy arguments.
To test, you can use the -reverse
option. Without this patch, everything will appear right-to-left; things that were on the left side will be on the right and everything is right aligned.
After this patch, -reverse
will now give a startup error since we do not support this argument.