On quarta-feira, 8 de janeiro de 2014 16:36:16, Tim Blechmann wrote: > >> not sure, if i am doing something completely wrong here. > >> i'm using a QMainWindow with a QQuickView as central widget. the > >> application does not make use of QApplication::exec, but i'm polling the > >> event loop manually from the application. > > > > You're doing something wrong. Use exec(). > > afaict this is not possible when integrating a Qt event loop into the > event loop of an existing application or when using a Qt from a plugin > which is simply not allowed to have its own event loop. or am i missing > something obvious?
Find a way to use exec() anyway. Qt wants exec(). You must make that thread use it: either by making the application use Qt's mainloop or by moving your code to a thread. At the very least, let us know if this problem happens with exec(). If it does, then we potentially have a problem that we should fix. If it doesn't happen with exec(), then we'll conclude it's the lack of using exec() that is the problem and will probably do nothing. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest