[Qt-interest] Weird qobject_cast issue with QFutureWatcher...
Gary Coulbourne
gcoulbourne at mediaguide.com
Thu Jul 23 23:32:48 CEST 2009
Gary Coulbourne wrote:
> up with "void value not ignored as it ought to be" as the error on the line
> with the qobject_cast. I've searched the mailing lists, and they suggested
> that a missing Q_OBJECT macro could be the trouble, but no dice.
>
> Anyone have any suggestions? Thanks!
I've hacked in a work-around, but am not sure WHY it works. If I wrap the
QFutureWatcher in another class, and echo the signals to signals defined in
the new class, and use that with qobject_cast, it seems to work... strange.
Peace,
Gary
More information about the Qt-interest-old
mailing list