title: How to use filename wildcards with QCommandLineParser
body: <p>Is there a problem with QCommandLineParser and filename wildcards in Windows?</p>
  
  <p>I'm using Qt 5.8.0 opensource on Windows to build a console application.  I'm trying to build a command line utility that accepts filename wildcards.  This doesn't seem to work, as it bails on the process() method.</p>
  
  <p><strong>main.cpp</strong>:</p>
  
  <pre><code>#include &lt;QCoreApplication&gt;
  #include &lt;QCommandLineParser&gt;
  #include &lt;iostream&gt;
  #include &lt;cstdlib&gt;
  
  using namespace std;
  
  int main(int argc, char** argv)
  {
     QCoreApplication app(argc, argv);
     QCommandLineParser parser;
     parser.addPositionalArgument("files", "input files", "[file]...");
     parser.process(app);
     QStringList posargs = parser.positionalArguments();
     foreach(QString s, posargs)
        cout &lt;&lt; s.toStdString() &lt;&lt; endl;
     return EXIT_SUCCESS;
  }
  </code></pre>
  
  <p><strong>myapp.pro</strong></p>
  
  <pre><code>CONFIG += c++14 console release
  QT -= gui
  sources = main.cpp
  </code></pre>
  
  <p>When I use the command:</p>
  
  <p><code>myapp somefile.txt</code></p>
  
  <p>I get <code>somefile.txt</code></p>
  
  <p>But this does not work with the command:</p>
  
  <p><code>myapp *.txt</code></p>
  
  <p>What's the best way around this?</p>