<?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[Code that worked in 5.13 won&#x27;t compile in 5.14, Linux, CentOS 7, gcc4.8.5, QColor]]></title><description><![CDATA[<p dir="auto">I'm trying to update to Qt 5.14 and having a lot of trouble with the change made to QColor. Code I had that compiled in 5.13 fails when referencing QColor.h:</p>
<p dir="auto">For example:<br />
<strong>In file included from /opt/Qt5.14.0/5.14.0/gcc_64/include/QtGui/qpalette.h:45:0,<br />
from /opt/Qt5.14.0/5.14.0/gcc_64/include/QtWidgets/qwidget.h:48,<br />
from /opt/Qt5.14.0/5.14.0/gcc_64/include/QtWidgets/qdialog.h:44,<br />
from /opt/Qt5.14.0/5.14.0/gcc_64/include/QtWidgets/QDialog:1,<br />
from ../myproject/myclass.h:27,<br />
from ../myproject/myclass.cpp:23:<br />
/opt/Qt5.14.0/5.14.0/gcc_64/include/QtGui/qcolor.h: In constructor ‘constexpr QColor::QColor(int, int, int, int)’:<br />
/opt/Qt5.14.0/5.14.0/gcc_64/include/QtGui/qcolor.h:79:18: sorry, unimplemented: use of the value of the object being constructed in a constant expression</strong></p>
<p dir="auto">This happens with many of my source files.</p>
<p dir="auto">Is this a known issue? I see that in the 5.14 Release Notes/Desktop Platforms, the stated reference configuration is "GCC 5.3.1 via devtoolset-4". Does this mean that since GCC 4.8.5 is the latest available for CentOS 7, I am stuck at Qt 5.13?</p>
]]></description><link>https://forum.qt.io/topic/110482/code-that-worked-in-5-13-won-t-compile-in-5-14-linux-centos-7-gcc4-8-5-qcolor</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 01:02:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/110482.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Jan 2020 23:39:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Code that worked in 5.13 won&#x27;t compile in 5.14, Linux, CentOS 7, gcc4.8.5, QColor on Thu, 09 Jan 2020 20:35:10 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. I'll look in to installing the patch.</p>
]]></description><link>https://forum.qt.io/post/571558</link><guid isPermaLink="true">https://forum.qt.io/post/571558</guid><dc:creator><![CDATA[Scopes]]></dc:creator><pubDate>Thu, 09 Jan 2020 20:35:10 GMT</pubDate></item><item><title><![CDATA[Reply to Code that worked in 5.13 won&#x27;t compile in 5.14, Linux, CentOS 7, gcc4.8.5, QColor on Thu, 09 Jan 2020 05:35:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scopes">@<bdi>Scopes</bdi></a> said in <a href="/post/571347">Code that worked in 5.13 won't compile in 5.14, Linux, CentOS 7, gcc4.8.5, QColor</a>:</p>
<blockquote>
<p dir="auto">Thanks. I'll watch that bu</p>
</blockquote>
<p dir="auto">There is already a patch available which you may apply locally.</p>
]]></description><link>https://forum.qt.io/post/571370</link><guid isPermaLink="true">https://forum.qt.io/post/571370</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Thu, 09 Jan 2020 05:35:34 GMT</pubDate></item><item><title><![CDATA[Reply to Code that worked in 5.13 won&#x27;t compile in 5.14, Linux, CentOS 7, gcc4.8.5, QColor on Thu, 09 Jan 2020 00:30:00 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. I'll watch that bug. I have investigated devtoolset a little, but haven't been able to get it to work with QtCreator yet.</p>
]]></description><link>https://forum.qt.io/post/571347</link><guid isPermaLink="true">https://forum.qt.io/post/571347</guid><dc:creator><![CDATA[Scopes]]></dc:creator><pubDate>Thu, 09 Jan 2020 00:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to Code that worked in 5.13 won&#x27;t compile in 5.14, Linux, CentOS 7, gcc4.8.5, QColor on Wed, 08 Jan 2020 23:58:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scopes">@<bdi>Scopes</bdi></a> said in <a href="/post/571342">Code that worked in 5.13 won't compile in 5.14, Linux, CentOS 7, gcc4.8.5, QColor</a>:</p>
<blockquote>
<p dir="auto">sorry, unimplemented: use of the value of the object being constructed in a constant expression</p>
</blockquote>
<p dir="auto">Hi<br />
It has been reported and for 4.9<br />
<a href="https://bugreports.qt.io/browse/QTBUG-80997" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugreports.qt.io/browse/QTBUG-80997</a></p>
]]></description><link>https://forum.qt.io/post/571345</link><guid isPermaLink="true">https://forum.qt.io/post/571345</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Wed, 08 Jan 2020 23:58:42 GMT</pubDate></item></channel></rss>