[SOLVED] New Folders
-
Does anyone know how can use Qt to make new folders?
with QFile is possible for an address and he hesitates not create folders?
have any permission to do so? or another command?thank you
many questions noobs hehe -
Hi,
don't worry, we were all noobs at some point ;)
There are 2 methods that I think you are after:
- "QDir::mkdir()":http://qt-project.org/doc/qt-5.1/qtcore/qdir.html#mkdir
- "QDir::mkpath()":http://qt-project.org/doc/qt-5.1/qtcore/qdir.html#mkpath
I think the description in the documentation is enough, so I won't add any explanation on my own. If anything is still unclear, please ask.
-
thank you,
this worked
:)