PDA

View Full Version : QColor:setNamedColor Error



Qt Coder
8th June 2009, 07:30
I m using Qt 4.4.3


QColor::setNamedColor: Unknown color name 'fan'

Im getting this warning messages when my application runs,which makes my application slow

I m not using this "setNamedColor" function anywhere in my code...

Does anyone know hot to disable or remove this warning

wysota
8th June 2009, 07:35
Maybe you are using a component that uses setNamedColor. You can either disable all messages or none. If you want to disable all messages, define QT_NO_DEBUG.

Qt Coder
8th June 2009, 07:49
where to define this QT_NO_DEBUG (in which file) ????????????????????

wysota
8th June 2009, 08:22
In the project file.

nish
8th June 2009, 09:26
do a search for "fan" in your code