Results 1 to 2 of 2

Thread: Exception triggered using QtQuick in Debug Mode when closing main window via X Button

  1. #1
    Join Date
    Dec 2018
    Posts
    7
    Qt products
    Qt5
    Platforms
    Windows

    Default Exception triggered using QtQuick in Debug Mode when closing main window via X Button

    So Im working with QtCreator and a QtQuick application with a main window.

    When closing the window via the X button in debug mode the debugger throws an exception.

    The exception is thrown from the disassembler tracktraced to the QQuickListView::spacingChanged() method.

    My main window only contains a Rectangle, ImageItem, some Labels, TextInput and a GroupBox

    Is this a known issue?

    I tried quitting the QmlEngine or QApplication manually when the onClosed signal is thrown and some other stuff but nothing helped.

    I appreciate some help.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Exception triggered using QtQuick in Debug Mode when closing main window via X Bu

    It sounds like there is a call being made using a pointer to an object that has already been deleted, but beyond that it is hard to say if that is occurring in your code or somewhere in the QtQuick internals.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Replies: 1
    Last Post: 26th November 2014, 06:50
  2. Replies: 3
    Last Post: 9th September 2014, 23:55
  3. Replies: 1
    Last Post: 23rd April 2014, 11:03
  4. Replies: 3
    Last Post: 23rd December 2010, 07:55
  5. Replies: 1
    Last Post: 2nd November 2009, 13:02

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.