Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2006

    XmlListModel problem

    Hi, all.

    I'm testing some simple xml parsing.
    After the application exits I see following warning in the QtCreator Application Output:

    "QWaitCondition: Destroyed while threads are still waiting"

    The QML code:
    import QtQuick 1.0
    Rectangle {
        id: main_window
        width: 360
        height: 640
        XmlListModel {
            id: testModel
            source: "text.xml"
            query: "/root/items"
            XmlRole { name: "title"; query: "title/string()" }
         ListView {
           width: 300; height: 400
             model: testModel
             delegate: Column {
                 Text { text: title }
        MouseArea {
            anchors.fill: parent
            onClicked: {
    The XML:

    <?xml version="1.0" encoding="utf-8"?>
    	<title>Items 1 Title</title>
    	<title>Items 2 Title</title>
    I also tried the example application like RssNews - same warning.
    Do you know is it critical issue or I can ignore this warning?


  2. #2
    Registered User
    Join Date
    Dec 2008

    Re: XmlListModel problem


    we have the same problem. We started seeing "QWaitCondition: Destroyed while threads are still waiting" in the Qt Simulator output as soon as we introduced first XmlListModel to the project.

    When running on device, we see kind of similar message when the application exits: "QThread: Destroyed while thread is still running", and we have a reason to believe this is failing our testing. Application basically crashes on exit, although only R&D images show the error dialog. So potentially it is critical, if the two errors are linked.

    Any help is appreciated =)


    EDIT: Running the rssnews example on device produces the same error on app exit ("QThread: Destroyed while thread is still running")
    Last edited by eskopappa; 2011-07-08 at 11:37. Reason: Adding stuff

  3. #3
    Registered User
    Join Date
    Dec 2008

    Re: XmlListModel problem

Similar Threads

  1. Replies: 6
    Last Post: 2011-07-27, 18:41
  2. Problem with XMLListModel
    By manikantan in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-06-27, 16:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts