[Qt-interest] QtColor problem
uanacho
uanacho at gmail.com
Thu Jul 23 15:23:18 CEST 2009
hi everybody!
I'm trying to obtain variable QColor by initializing it manually in my
code, but I only obtain black color.
I executed with the QtCreator debugger and the problem it's so weird.
For example:
QColor c(50, 10, 20, 1)
it enters to the constructor of QColor with the right values, and then goes
to another function of QColor to initialize the values and always put this
values: (12850, 2570, 51440, 257)
So, this values are very different from (50, 10, 20, 1)
I only include <QtGui/QColor> and I don't know if there somethins missing
or my Qt version is old. The qt version I use is 4.5, it's not too old.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090723/3c46aaac/attachment.html
More information about the Qt-interest-old
mailing list