<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Building qt 5.15 with mingw on windows error cant find qfreetypefontdatabase_p.h]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I want to build qt 5.15 using mingw on windows, but after around 10 minutes it fails with error:</p>
<p dir="auto">........\include\QtFontDatabaseSupport\5.15.4/QtFontDatabaseSupport/private/qfreetypefontdatabase_p.h:1:10: fatal error: ../../../../../src/platformsupport/fontdatabases/freetype/qfreetypefontdatabase_p.h: No such file or directory<br />
#include "../../../../../src/platformsupport/fontdatabases/freetype/qfreetypefontdatabase_p.h"</p>
<h2>Steps to reproduce, on Windows 11:</h2>
<ul>
<li>Have mingw 8.10 64bit installed with the qt online installer.</li>
<li>Downloaded and unzipped qt-everywhere-src-5.15.4.zip</li>
<li>Make sure mingw is in the PATH</li>
<li>call configure.bat with (Note: I have put this in another batch file):<br />
./configure ^<br />
-release	^<br />
-opensource ^<br />
-confirm-license ^<br />
-skip qtcharts ^<br />
-skip qtvirtualkeyboard ^<br />
-skip qtdatavis3d ^<br />
-silent ^<br />
-nomake examples ^<br />
-nomake tests ^<br />
-qpa xcb ^<br />
-system-zlib ^<br />
-plugin-sql-odbc ^<br />
-plugin-sql-sqlite ^<br />
-opengl desktop ^<br />
-no-sql-sqlite2 ^<br />
-no-strip</li>
</ul>
<p dir="auto">(configure is busy a while bootstrapping qmake)<br />
Then mingw32-make -j8 (as suggested by configure, but with -j8 to speed up using multple cpu's)<br />
It starts promising, but after 15 minutes the said errors appear, multiple times.<br />
Anybody an idea? Tx.</p>
]]></description><link>https://forum.qt.io/topic/161617/building-qt-5-15-with-mingw-on-windows-error-cant-find-qfreetypefontdatabase_p-h</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 06:44:46 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/161617.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Apr 2025 12:34:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Building qt 5.15 with mingw on windows error cant find qfreetypefontdatabase_p.h on Wed, 02 Apr 2025 06:50:56 GMT]]></title><description><![CDATA[<p dir="auto">It's the windows path limiting to 260 characters.</p>
]]></description><link>https://forum.qt.io/post/823808</link><guid isPermaLink="true">https://forum.qt.io/post/823808</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Wed, 02 Apr 2025 06:50:56 GMT</pubDate></item><item><title><![CDATA[Reply to Building qt 5.15 with mingw on windows error cant find qfreetypefontdatabase_p.h on Wed, 02 Apr 2025 06:41:28 GMT]]></title><description><![CDATA[<p dir="auto">Found it: the root directory (path name) I placed the entire project in is too long. Solved when placing in a shorter / simpler directory structure. Must be bug in windows and/or mingw.</p>
]]></description><link>https://forum.qt.io/post/823807</link><guid isPermaLink="true">https://forum.qt.io/post/823807</guid><dc:creator><![CDATA[DanRechtsaf]]></dc:creator><pubDate>Wed, 02 Apr 2025 06:41:28 GMT</pubDate></item></channel></rss>