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().
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:
directoryName:
$(MKDIR) directoryName
directoryName:
$(MKDIR) directoryName
To copy to clipboard, switch view to plain text mode
You also have to add "directoryName" somewhere as a dependency. Like:
all: ... directoryName ...
...
all: ... directoryName ...
...
To copy to clipboard, switch view to plain text mode
But remember that qmake will overwrite your Makefile.
Bookmarks