[Qt-interest] QVTKInteractor problem (QT VTK)

Luis Roberto P. Paula luisrpp at gmail.com
Tue Feb 10 15:06:28 CET 2009


Hi All,

This is a QT VTK question.

Since QVTKInteractor cannot control the event loop, how do I start a second
window after the click of a button and make this new window to have its own
event loop?

When the button is clicked, this action is performed:

  MyWidget* widget = new   MyWidget();
  widget->show();

The new window appears, but to make the interactor to work, there should be
a command like:

  qApp->exec();

but QT does not allow me to start a new GUI event loop.

Does anybody can help me?

Thanks,
Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090210/7d3394a0/attachment.html 


More information about the Qt-interest-old mailing list