Results 1 to 2 of 2

Thread: Event loop does not start

  1. #1
    Join Date
    Jun 2010
    Posts
    26
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Event loop does not start

    I'm having problems getting my application to start. It seems that at the end of the constructor it will die (crash).

    Originally my program worked fine, but then I made a second initialisation function and moved a lot of things from the constructor into it, so that the main window could be opened faster. The second function is called by a single shot timer at the end of the constructor.

    I have been changing the order of code in both the constructor and initialisation functions but have not been able to isolate the problem. Sometimes a different order will allow the program to start from QPE but not from the console or vice-versa, sometimes with the display in landscape orientation and sometimes in portrait. I have verified that I have not introduced any new bugs and I have spent a lot of time looking at what happens in my resizeEvent().

    It seems to me that something in the event loop is failing, before the second function is called. Are there any other events that could affect my program ?

    I am running Qtopia 1.5.4 and QT embedded 2.3.2

  2. #2
    Join Date
    May 2009
    Posts
    55
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Event loop does not start

    Could you please provide a code?

Similar Threads

  1. Replies: 10
    Last Post: 15th January 2010, 14:35
  2. Event Loop
    By node_ex in forum Qt Programming
    Replies: 1
    Last Post: 12th December 2008, 07:52
  3. Replies: 0
    Last Post: 23rd October 2008, 12:43
  4. calling event through in loop
    By raghvendramisra in forum Qt Programming
    Replies: 3
    Last Post: 28th February 2008, 05:41
  5. Glib event loop
    By Brandybuck in forum Qt Programming
    Replies: 2
    Last Post: 28th September 2006, 17:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.