<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Compilation of Qt5 frontend fails with MinGW"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79874#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Compilation of Qt5 frontend fails with MinGW"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79874">bug 79874</a>
from <span class="vcard"><a class="email" href="mailto:hib@hiberis.nl" title="Hib Eris <hib@hiberis.nl>"> <span class="fn">Hib Eris</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=79874#c7">comment #7</a>)
<span class="quote">> > #ifdef _WIN32
> > + doc = new PDFDoc((wchar_t *)filePath.utf16(), filePath.length(), ownerPassword, userPassword);
>
> I think that filePath.length() might not match the number of wchar's in
> filePath.utf16().</span >
Hmm, on second thought, I was wrong in this remark; using QString.length() will
work fine to get the number of wchar_t returned by QString.utf16().
Thus the proposed patch looks good to me.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>