title: Get font family name from QFontDatabase::addApplicationFont
body: <p>I'm using QFontDatabase:addApplicationFont, and it's working as intended, but I want to get the family font name from the last ttf file it loads up, since the intended use of it is letting the user use whatever font they point towards.</p>
  
  <p>I mostly want to know if this is possible within QFont or if I'll have to rely on a different library for it.</p>
  
  <pre class="lang-cpp prettyprint-override"><code>QFontDatabase::addApplicationFont(font_path);
  ui_vp_message-&gt;setFont(QFont(ttf_font_family_name, f_weight));
  </code></pre>