title: Can I get all command line arguments that are not used by Qt?
body: <p>I am developing a Qt application that I want to accept command line arguments.<br />
  I do not want to use a <code>QCommandLineParser</code> with <code>QCommandLineOptions</code>, because it does not support choices like the builtin <code>argparse</code>, and because it requires the <code>QApplication</code> to be initialized <em>before</em> the <code>QCommandLineParser</code>.<br />
  But, I cannot simply use the arguments from <code>sys.argv</code>, because these contain Qt-specific arguments such as <code>--style</code>, too.<br />
  Has Qt a builtin function to give me just these arguments that are not used by Qt itself, or will I have to filter them out myself one by one ?</p>
  <p>I did find <code>QCoreApplication.arguments()</code>, but that doesn't fit my needs. Quote from <a href="https://doc.qt.io/qt-5/qcoreapplication.html#arguments" rel="nofollow noreferrer">the docs</a>:</p>
  <blockquote>
  <p>On Unix, this list is built from the argc and argv parameters passed to the constructor in the main() function</p>
  </blockquote>
  <p>From that, I deduce that the list of arguments returned by <code>QCoreApplication.arguments</code> still contains Qt-specific options such as <code>--style</code>.</p>