Quote Originally Posted by paranoid_android
Is there a way to create the folders by some functions in the code or I have to create them by mean of the MakeFile?
Use QDir::mkdir() or QDir::mkpath().

Quote Originally Posted by paranoid_android
If yes what I've to add to the makefile generated with qmake.I tried with something like:
It should be:
Qt Code:
  1. directoryName:
  2. $(MKDIR) directoryName
To copy to clipboard, switch view to plain text mode 
You also have to add "directoryName" somewhere as a dependency. Like:
Qt Code:
  1. all: ... directoryName ...
  2. ...
To copy to clipboard, switch view to plain text mode 
But remember that qmake will overwrite your Makefile.