Results 1 to 2 of 2

Thread: How to find the Space on destination disk from QFileDialog?

  1. #1
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question How to find the Space on destination disk from QFileDialog?

    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.
    Last edited by vishal.chauhan; 16th January 2008 at 10:22.

  2. #2
    Join Date
    Sep 2007
    Posts
    31
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to find the Space on destination disk from QFileDialog?

    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-...ntry&id=151083

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.