Default Camera Image Picture Folder Path in QML
Unsolved
QML and Qt Quick
-
Hi,
How to see default Camera Image Picture folder befeore capture image in qml ?
Thanks
-
The image will be captured to the default system location, typically
QStandardPaths::writableLocation(QStandardPaths::PicturesLocation)
for still imaged orQStandardPaths::writableLocation(QStandardPaths::MoviesLocation)
for video.See: http://doc.qt.io/qt-5/qml-qtmultimedia-cameracapture.html#cancelCapture-method
See also: Qml Tutorial exposing QStandardPaths
-
Hi,
How to delete picure from default system ( QStandardPaths::writableLocation(QStandardPaths::PicturesLocation) ) location in qml .
Thanks
-
Unfortunately there is no out-of-the-box way to do this with QtQuick. You'll have to write some code for this in C++ and call it from QML.