I am stumped by this compile error, sure that it's some very simple "obvious" doof-up. I'm hoping to create an image filled with a color.

QImage qim( QSize(24,24), QImage::Format_ARGB32 );
qim.fill( QColor("#FFD07F") );

The compiler from Visual Studio 10 (using command line tools) gripes with:

main.cpp(51) : error C2664: 'QImage::fill' : cannot convert parameter 1 from 'QColor' to 'uint'

Line 51 being the qim.fill() call. The Qt doc for QImage says QImage::fille(const QColor &) exists, and QColor should be fine with a string containing web-style color like that. It sure looks like everything is fine in the source code.

What the heck is the problem?