title: How deserialize the output from a QVariant without Qt
body: <p>How Can I deserialize the output QVariant to std::string without using QT. </p>
  
  <p>by reqs,  My program could not include a Qt.</p>
  
  <p><code>QVariant.toString().toStdString()</code>; </p>
  
  <p>Example. </p>
  
  <p>file.ini (write with QSetting)
  ..</p>
  
  <pre><code>ID="\x1\0\0\0\xd0\x8c\xd9\xec\xfb*"
  </code></pre>
  
  <p>profile_program /* Pseudo Code */</p>
  
  <pre><code>int main ()
  {
     void* IDQt =getIDFromIniFile("file.ini");
     std::string myId = convertID(IDQt);
     process(myID);
  }
  </code></pre>