Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. To run our own event loop in Qt/Embedded
Forum Update on Monday, May 27th 2025

To run our own event loop in Qt/Embedded

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 3.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vijayabcdef
    wrote on 23 Jul 2011, 03:20 last edited by
    #1

    Hi,

    1. on Qt/Embedded without calling QApp::exec(), if i use processEvents() in a while loop which has some widget creation and deletion also it gives segmentationfault. is it bcoz QEventLoop object is not yet created(may be in exec() call it could be created).

    2. if I create my own eventloop object as a public member of MyApplication which inherits QApllication, still same problem is persisting.
      Is it bcoz QThreadData object is not created??

    3. In the same context, i want to know whether all QTreads are managed with in Qt's own scheduling time at the OS level??

    please help me about these issues

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on 23 Jul 2011, 12:52 last edited by
      #2

      Why do you want/need to run your own event loop? You may want to take a look at [[Doc:QAbstractEventDispatcher]] if you wish to customise event handling.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vijayabcdef
        wrote on 26 Jul 2011, 14:18 last edited by
        #3

        why bcoz i dont want to receive any user invoked events from QWS instaed i receive from another process. I want to block wait on that particular message queue instaed of aboutToBlock() emission by QAbstarctEventDispatcher. As per the information received on message queue i want to create/delete/chage state of objects.-----simply i want to use Qt/Embedded(which has good documentation and user base compared to other Display servers) like Display server only rather than GUI server.

        1 Reply Last reply
        0

        1/3

        23 Jul 2011, 03:20

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved