C

Emulating Storage Devices

One or several secure digital (SD) memory cards can be added to mobile devices to increase the available storage space. Devices may also have internal non-removable memory cards or internal mass storage. That is, multiple drives are supported.

You can create SD cards and insert them to the device image in the Storage view. Your application can then use the cards to store data.

"Storage settings"

To create an SD card, select Create. Give the card a name and specify its size. You can create as many cards as you like. The cards appear in the SD Card list.

To insert an SD card to the emulated device image, select Insert. An icon appears next to the card name that indicates that the card can be used by applications.

To remove an SD card, double-click an inserted card, or select a card, and then select Remove. The data is preserved on removed cards and you can reinsert them later.

Applications can use the QSystemStorageInfo class to check how much space is available in a particular storage.

Available under certain Qt licenses.
Find out more.