Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 5.14.0
-
Fix Version/s: 5.14.1
-
Component/s: GUI: Painting
-
Labels:None
-
Environment:Linux with gcc < 5
-
Platform/s:
-
Commits:c61cedcc5475a77fb94ed12788f61039835f8079
Description
Since commit de82d239f814cf2a717bea0defeee3732384e271 (Make QColor a literal type), QtGui compilation fails with the following message when using gcc 4.9:
src/gui/painting/qcolor.h: In constructor 'constexpr QColor::QColor(int, int, int, int)':
src/gui/painting/qcolor.h:79:18: sorry, unimplemented: use of the value of the object being constructed in a constant expression
Since gcc 4.9 is still supported in Qt 5.14, please fix the issue. This is a known gcc issue that was fixed in gcc 5 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57694).