PDA

View Full Version : How to find the Space on destination disk from QFileDialog?



vishal.chauhan
16th January 2008, 10:18
Hi All,

I am working on qt 4.2.2 on my Intel Mac.
I have a QFileDialog from which I select the location of the file to be saved.
I want to know how I can know the space free on the Drive because if the space is less than I required then I can give the message of low space.

Thanks.

brokensword
16th January 2008, 13:36
You should use APIs of your OS, Qt doesn't provide feature you need. It would be added in some next release. You can track ststus here:

http://trolltech.com/developer/task-tracker/index_html?method=entry&id=151083