Hi,
I am facing very small issue with creating directory with hidden attribute.
How to create a directory with hidden attribute. Strangely i could not found anything like this.
regards,
~Sanjay
Hi,
I am facing very small issue with creating directory with hidden attribute.
How to create a directory with hidden attribute. Strangely i could not found anything like this.
regards,
~Sanjay
Last edited by yogeshgokul; 11th November 2009 at 07:09.
Thanks a lot for this information.
I was thinking that there must be some way to do that using Qt ( without using platform dependant code ).
How about the Mac OS X?
Qt has "setPermissions" but these don't include hidden attribute as only Windows has that function. Therefore you need to create a directory with a name starting with a '.' and then if on Windows you need to use windows-specific code to make that directory hidden. Some platforms may not support directories starting with a '.' (some smartphones).
There is no platform independant way of doing this.
Thanks a lot.
Yes finally i implemented the platform specific code for windows and Mac os x.
Mac OS X is unix based so putting '.' in front of the file makes the file hidden.
Thanks again.
Can you share ?
Bookmarks