Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.3
-
None
-
a423ff5474b89028eeca95b254f5184311c8223b
Description
When a string is assigned in QML to a C++ side QVariant property, one sees QColor::setNamedColor: Unknown color warning.
This happens because the string is attempted to be converted to a color in QDeclarativeStringConverters::variantFromString().
This causes problems when debugging other problems with QT_FATAL_WARNINGS=1. And also makes the developer wonder if there is some bug in his code.
Attachments
Issue Links
- resulted in
-
QTCREATORBUG-5497 Warnings about colors when opening Dial example
- Closed