Results 1 to 7 of 7

Thread: QSocketNotifier Issue

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    May 2007
    Posts
    90
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    40

    Default Re: QSocketNotifier Issue

    What I think is going on is the following:

    I start the transmitting and receiving of information on their respective threads. When I stop, I wait for the QTcpServer and QTcpSocket to stop before I delete their class holders. The event loop is then given control and one extra QSocketNotifier issue is thrown. At this point, my thread is gone and I get an unhandled exception where QObject is attempting to access memory that doesn't belong to it (namely the pointer to the thread).

    Edit:

    How would I handle the default notifier issues? I am confused as I cannot even find out how to get a pointer to it.
    Last edited by TheGrimace; 18th July 2007 at 20:44.

Similar Threads

  1. QtPlugin compile issue
    By croland in forum Qt Programming
    Replies: 2
    Last Post: 25th May 2007, 17:37
  2. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 03:59
  3. Dialog and code design issue
    By Gopala Krishna in forum Qt Programming
    Replies: 1
    Last Post: 24th September 2006, 18:54
  4. Replies: 5
    Last Post: 22nd September 2006, 09:04
  5. A Design Issue...
    By nupul in forum Qt Programming
    Replies: 6
    Last Post: 4th May 2006, 18:41

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
  •  
Qt is a trademark of The Qt Company.