Results 1 to 7 of 7

Thread: QML: Component.onDestruction not calling on window close

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2012
    Posts
    23
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default QML: Component.onDestruction not calling on window close

    Hi,

    I loaded a QML file using QDeclarativeview and continuously send some signals to the Qml file from cpp.
    On window close of the qml file i need to stop the the signals. But how can I identify the window close of qml file?? I tried Component.onDestruction event of qml. But it is not getting. Please suggest a suitable method.
    I tried closeEvent(). But this is also not hitting...

    Thanks in advance.
    Last edited by nestuser; 18th October 2012 at 06:51.

Similar Threads

  1. Execute event in calling window
    By rdjenner in forum Qt Programming
    Replies: 2
    Last Post: 24th February 2011, 15:28
  2. QTemporaryFile stays locked even after calling close()
    By Tiansen in forum Qt Programming
    Replies: 1
    Last Post: 20th May 2010, 13:35
  3. Replies: 9
    Last Post: 16th May 2010, 16:21
  4. How to close parent window from child window?
    By montylee in forum Qt Programming
    Replies: 5
    Last Post: 14th October 2008, 11:40
  5. Calling destructors on close event
    By gyre in forum Newbie
    Replies: 22
    Last Post: 27th November 2007, 19:35

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.