It looks to me that that property is just initialized later. I.e. this
works (at least with Qt 5.2):
import QtQuick 2.0
import Qt.labs.folderlistmodel 1.0
FolderListModel {
id: folderModel
folder: "/"
onCountChanged: print(count)
}
I'll suggest you to submit this bug to upstream bug tracker,
http://bugreports.qt-project.org/.
** Changed in: qtdeclarative-opensource-src (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251112
Title:
folderlistmodel missing count attribute
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1251112/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs