04-05-2013 12:51 PM
I've a little problem with FilePicker. I've tried to set directories property to (e.g.) "./data/" (I filled this dir with some images) but, when the picker starts, it show no files.
Am I doing something wrong?
04-06-2013 09:49 PM
I would recommend using the following approach:
In your cpp file:
// Retrieve the path to the app's working directory
QString workingDir = QDir::currentPath();
// Build the path, add it as a context property, and expose
// it to QML
QDeclarativePropertyMap* dirPaths = new QDeclarativePropertyMap;
dirPaths->insert("camera", QVariant(QString("file://" + workingDir + "/shared/testdir")));
In your qml:
directories: [ dirPaths.camera ]
// code here
04-07-2013 08:30 PM
04-08-2013 06:14 AM
I've tried to debug, no errors shows up...maybe the only interesting thing is this :
FilePickerPrivate::onCardInvokeRequestFinished() . error= 0
@JaredCo : yes, the permission has already been set.