<?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[Missing header file EGL&#x2F;egl.h while building Qt 5.9.1 on Windows]]></title><description><![CDATA[<p dir="auto">While building the qt-everywhere-opensource-src-5.9.1 source package on Windows 10, I fail with the error: "fatal error C1083: Cannot open include file: 'EGL/egl.h': No such file or directory" while compiling the file qtbase/src/plugins/platforms/windows/qwindowsintegration.cpp.</p>
<p dir="auto">I am compiling with the vc140 toolset and my configuration flags are as follows:<br />
<code>-opensource -confirm-license -debug-and-release -shared -platform win32-msvc2015 -sse2 -no-plugin-manifests -no-ltcg -skip qtscript -skip qtserialport -skip qtsensors -skip qtandroidextras -skip qtwebengine -make libs -make tools -nomake tests -nomake examples -no-compile-examples -no-dbus -no-incredibuild-xge -mp -no-icu -qt-pcre -qt-zlib -no-openssl -qt-freetype -no-harfbuzz -opengl dynamic -qt-libpng -qt-libjpeg -sql-odbc -no-sqlite</code></p>
<p dir="auto">Possibly worth mentioning in case it matters: I am not running configure in the source directory, but rather running it from its source directory location while in a separate staging directory. This has worked for me when compiling 5.6.1 from source and allows me to clean up intermediate build products or partial builds easily by deleting the staging directory.</p>
<p dir="auto">Am I missing a dependency or configuration step?</p>
]]></description><link>https://forum.qt.io/topic/82264/missing-header-file-egl-egl-h-while-building-qt-5-9-1-on-windows</link><generator>RSS for Node</generator><lastBuildDate>Wed, 24 Jun 2026 07:42:12 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/82264.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Aug 2017 01:40:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Missing header file EGL&#x2F;egl.h while building Qt 5.9.1 on Windows on Wed, 04 Oct 2017 09:56:45 GMT]]></title><description><![CDATA[<p dir="auto">I dont have a pro file. I am building Qt in windows. Using cmd. This option fails for me too (with angle).</p>
]]></description><link>https://forum.qt.io/post/418761</link><guid isPermaLink="true">https://forum.qt.io/post/418761</guid><dc:creator><![CDATA[pip010]]></dc:creator><pubDate>Wed, 04 Oct 2017 09:56:45 GMT</pubDate></item><item><title><![CDATA[Reply to Missing header file EGL&#x2F;egl.h while building Qt 5.9.1 on Windows on Thu, 21 Sep 2017 09:59:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pip010">@<bdi>pip010</bdi></a> How did you install Qt? QOpenGLFunctions_ES2 is part of Qt since 5.1<br />
Do you have this in your pro file:</p>
<pre><code>QT += gui
</code></pre>
<p dir="auto">?</p>
]]></description><link>https://forum.qt.io/post/416421</link><guid isPermaLink="true">https://forum.qt.io/post/416421</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Thu, 21 Sep 2017 09:59:56 GMT</pubDate></item><item><title><![CDATA[Reply to Missing header file EGL&#x2F;egl.h while building Qt 5.9.1 on Windows on Thu, 21 Sep 2017 09:36:34 GMT]]></title><description><![CDATA[<p dir="auto">I followed your instructions yet:<br />
'QOpenGLFunctions_ES2': is not a class or namespace name</p>
]]></description><link>https://forum.qt.io/post/416417</link><guid isPermaLink="true">https://forum.qt.io/post/416417</guid><dc:creator><![CDATA[pip010]]></dc:creator><pubDate>Thu, 21 Sep 2017 09:36:34 GMT</pubDate></item><item><title><![CDATA[Reply to Missing header file EGL&#x2F;egl.h while building Qt 5.9.1 on Windows on Mon, 14 Aug 2017 20:28:32 GMT]]></title><description><![CDATA[<p dir="auto">I was able to compile successfully after the following steps:</p>
<ul>
<li>Installed the DirectX SDK available here: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=6812" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.microsoft.com/en-us/download/details.aspx?id=6812</a></li>
<li>Added the location of fxc.exe to the PATH environment variable</li>
<li>Set the configuration flags -opengl dynamic and -angle</li>
</ul>
]]></description><link>https://forum.qt.io/post/410308</link><guid isPermaLink="true">https://forum.qt.io/post/410308</guid><dc:creator><![CDATA[izeilstra]]></dc:creator><pubDate>Mon, 14 Aug 2017 20:28:32 GMT</pubDate></item><item><title><![CDATA[Reply to Missing header file EGL&#x2F;egl.h while building Qt 5.9.1 on Windows on Fri, 11 Aug 2017 21:16:30 GMT]]></title><description><![CDATA[<p dir="auto">Addenda:</p>
<ul>
<li>If I add the -angle flag to my configuration flags, the build fails at the configuration stage with the following message:<br />
<code>ERROR: Feature 'angle' was enabled, but the pre-condition 'config.win32 &amp;&amp; tests.directx' failed.</code><br />
I have the Windows 10 SDK installed, and to my best understanding this now includes the DirectX SDK, but the configuration DirectX SDK check fails.</li>
<li>If I change the opengl flag to -opengl desktop, the build fails:<br />
<code>'fxc.exe' is not recognized as an internal or external command, operable program or batch file.</code><br />
I have found fxc.exe in the %PROGRAMFILES(X86)%/Windows Kits/10 directory but am not sure how to supply the Windows 10.0.15063.0 kit to the Qt build process.</li>
</ul>
<p dir="auto"><a href="https://bugreports.qt.io/browse/QTBUG-52487" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io/browse/QTBUG-52487</a> seems to have some relevant information but any additional help would be greatly appreciated.</p>
]]></description><link>https://forum.qt.io/post/409943</link><guid isPermaLink="true">https://forum.qt.io/post/409943</guid><dc:creator><![CDATA[izeilstra]]></dc:creator><pubDate>Fri, 11 Aug 2017 21:16:30 GMT</pubDate></item></channel></rss>