[Qt-interest] Eventloop started in a thread where an event loop isalready running

srikanth bemineni bemineni.srikanth at gmail.com
Tue Aug 23 08:18:34 CEST 2011


I read the documentation but it is still not clear

When application starts it has an event loop(initiated on the QApplication)
running which we consider as a main event loop.If at all I create QEventloop
object and call exec, according to the documentation it says that it creates
a local event loop.Now please let me know which event loop is handling the
events.


On Tue, Aug 23, 2011 at 12:46 AM, Scott Aron Bloom <
Scott.Bloom at onshorecs.com> wrote:

> RTFM???****
>
> ** **
>
> http://doc.qt.nokia.com/latest/qeventloop.html#details****
>
> ** **
>
> Its pretty clear from the docs.. ****
>
> ** **
>
> *From:* qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com[mailto:
> qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] *On Behalf Of
> *srikanth bemineni
> *Sent:* Monday, August 22, 2011 10:43 PM
> *To:* qt-interest at trolltech.com
> *Subject:* [Qt-interest] Eventloop started in a thread where an event loop
> isalready running****
>
> ** **
>
> Hi,
>
> What happens when we start a Eventloop by calling QEventLoop::exec() where
> already a parent event loop is running ?
>
> What happens to the events.?
>
> Which Event loop will be handling the events.? The parent event loop or the
> child(later) created event loop ?
>
> With regards
> Srikanth****
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110823/88cd71fb/attachment.html 


More information about the Qt-interest-old mailing list