<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><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">79874</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Compilation of Qt5 frontend fails with MinGW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>other
</td>
</tr>
<tr>
<th>Reporter</th>
<td>freedesktop@akikoskinen.info
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>qt frontend
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=100797" name="attach_100797" title="Proposed patch for the problem">attachment 100797</a> <a href="attachment.cgi?id=100797&action=edit" title="Proposed patch for the problem">[details]</a></span>
Proposed patch for the problem
When trying to cross-compile Poppler with MinGW the compilation fails because
of an error in the Qt5 frontend. The error is:
qt5/src/poppler-private.h:91:21: error: 'std::wstring' has no member named
'_Copy_s'
int length = wstr._Copy_s(fileName, filePath.length(), filePath.length());
That's caused because of usage of Microsoft specific API.
A proposed patch is attached.</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>