title: can't read tag with TagLib
body: <p>Downloaded taglib 1.9 from <a href="https://taglib.github.io/" rel="nofollow">https://taglib.github.io/</a> and compiled with the instructions provided in the INSTALL file.</p>
  
  <p>The code below crashes with error "The program has unexpectedly finished."</p>
  
  <pre><code>#include "mainwindow.h"
  #include &lt;QApplication&gt;
  #include &lt;QDebug&gt;
  
  #include &lt;taglib/mp4file.h&gt; 
  #include &lt;taglib/mpegfile.h&gt;
  #include &lt;taglib/fileref.h&gt;
  #include &lt;taglib/taglib.h&gt;
  #include &lt;taglib/tag.h&gt;
  
  int main(int argc, char *argv[])
  {
      QApplication a(argc, argv);
  
      TagLib::FileName fn(QString("C:/Users/Bill/Desktop/02 Am I Wrong.mp3").toStdString().c_str());
      TagLib::FileRef ref(fn);
  
      qDebug() &lt;&lt; QString::fromStdString(std::string(ref.tag()-&gt;artist().toCString()));
      return a.exec();
  }
  </code></pre>
  
  <p>Running in debug mode show me null dereference fileref.cpp at </p>
  
  <pre><code>bool FileRef::isNull() const
  {
    return !d-&gt;file || !d-&gt;file-&gt;isValid();
  }
  </code></pre>
  
  <p>Running Windows 10 insider preview with static built Qt 5.0.2</p>
  
  <p>I've toiled and toiled and found no helpful result.</p>