I want to move an QGraphicsItem gi in a scene being displayed. I use
Qt Code:
  1. scene->removeItem(gi);
  2. gi->setPos(x, y);
  3. scene->addItem(gi);
To copy to clipboard, switch view to plain text mode 
At that point I get a warning
Qt Code:
  1. QObject::startTimer: QTimer can only be used with threads started with QThread
To copy to clipboard, switch view to plain text mode 
and the view doesn't change. The warning totally foxes me. I have several threads in my program but gdb confirms all the basic GUI thread is active at this point. I don't want a timer, I want the view updated.

What is going on?

At first I had no removeItem addItem calls but that was gave the same warning.

Thanks for any suggestions,
Enno