<?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[Who is responsible for QtWebEngine build system?]]></title><description><![CDATA[<p dir="auto">In the Qt build system there are some issues related to passing CFLAGS to the QtWebEngine build system during the process of building whole Qt (when the parameter -skip qtwebengine is not used). Qt build system reads the contents of QMAKE_CFLAGS and declare ninja variables according to found options. If we consider the qtwebengine/src/core/gyp_run.pro we can find the code for parsing QMAKE_CFLAGS contains. For example, when we deal to MIPS architecture the code of gyp_run.pro trying to find the "mips32r2" substring in the value of QMAKE_CFLAGS variable:</p>
<pre><code>contains(QMAKE_CFLAGS, "mips32r2"): mips_arch_variant=\"r2\"

</code></pre>
<p dir="auto">But in the QMAKE_CFLAGS variable the contains() function cannot find "mips32r2" string because the GCC option can be "-march=mips32r2". Also in the code above we have to add mips_arch_variant variable into GYP_CONFIG. So the correct code should be loke follow:</p>
<pre><code>contains(QMAKE_CFLAGS, "-march=mips32r2"): GYP_CONFIG += mips_arch_variant=\"r2\"

</code></pre>
<p dir="auto">Further created ninja variables are processed in the file qtwebengine/src/3rdparty/chromium/build/common.gypi where we also can see incorrect or not fulfill behaviour.</p>
<p dir="auto">For example to tune compilation for the P5600 architecture we have to pass the following options to GCC-5.3.0</p>
<pre><code>$ ${CROSS_COMPILE}gcc -march=mips32r2 -mtune=p5600

</code></pre>
<p dir="auto">For GCC-5.4.0 we can simplify our controls to the only one option: -march=p5600.</p>
<p dir="auto">For MIPS P5600 I can suggest patch. Please let me known who are responsible for QtWebEngine build system. I will send my suggestions as a patch. I don't want to contribute this by myself because I'm not a Qt developer.</p>
]]></description><link>https://forum.qt.io/topic/68643/who-is-responsible-for-qtwebengine-build-system</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 00:01:36 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/68643.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 Jun 2016 08:15:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Who is responsible for QtWebEngine build system? on Fri, 24 Jun 2016 09:28:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kosteltsev">@<bdi>kosteltsev</bdi></a></p>
<p dir="auto">There is no sense in <a href="https://forum.qt.io/topic/68642/building-qtwebengine-for-different-target-platforms/2">duplicated posting</a></p>
]]></description><link>https://forum.qt.io/post/334642</link><guid isPermaLink="true">https://forum.qt.io/post/334642</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Fri, 24 Jun 2016 09:28:37 GMT</pubDate></item></channel></rss>