[Solved] QFileDialog::getExistingDirectory



  • I'm using QFileDialog::getExistingDirectory; With OS X the "new folder" button is grayed-out. Is there a way to enable it so along with selecting a dir, a new one can be created as well?



  • Not sure why this grayed out. You can use QFileDialog object itself and open the directory. It will show the tool button on the right side. I have not tried on OS X .



  • As name ( QFileDialog::getExistingDirectory) is suggesting , it will show all existing directory only.

    I think thats why “new folder” button is grayed-out.



  • [quote author="Dheerendra" date="1403590991"]Not sure why this grayed out. You can use QFileDialog object itself and open the directory. It will show the tool button on the right side. I have not tried on OS X .[/quote]

    My error. I was opening the QFileDialog in a directory w/o write privs. As soon as that was corrected the tool button was active.



  • Cool. You can put this issue to "Solved" state.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.