XmlListModel and Xml Role problem.



  • Hai, I have work out with XmlRoleModel before and it running well.

    But I have change the query path to suite my Xml file, but it close unexpectedly finished.

    My file is as below :

    Xml :

    <plist version="1.0">
    <dict>
    <key>Kuala Lumpur</key>
    <key>Penang</key>
    <key>Selangor</key>
    <key>Kelantan</key>
    </dict>
    </plist>

    XmlListModel {
    id: model1
    property bool loading: status == XmlListModel.Loading

    source: "http://appsfactory.my/client/canonmsia2/android/fws/academy.php"

    query: "/plist/dict/key"

    XmlRole { name: "location"; query:"string()" }
    }

    In this case, I would like to get all key data but it close unexpected.
    May I know is there any solution to solve it??




  • KAspersky antivirus found that there is a trojan in an application run when I clicked on the link




  • [quote author="geronik" date="1342512549"]****
    KAspersky antivirus found that there is a trojan in an application run when I clicked on the link
    ****[/quote]

    Hmm.. Waiting for comments from ~wilson_chan...



  • Kaspersky antivirus must have deleted some files or put them on carantine , don't know what exactly did though.. and the problems started.. QtCreator cannot build my project. Panic reaction : I am reinstalling QtSDK.
    I will post again in a while..



  • And.. it is working! must have deleted some files necessary for the build process.



  • May I ask what is the point of kaspersky related to my post??



  • @wilson_chan as I said in previous posts what I did is : click on the link of your post and then Kaspersky AntiVirus, reported that there was a trojan installed, the trojan was deleted and started scanning etc.. also kaspersky found phising urls which I will not post here.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.