How to create a directory under
Here is a example that will create a directory called Exo
This example is given in the file main.cpp Qt 4
later I will add a function that checks that the directory does not exist already.
Code:
# include # include QtGui QApplication
# include # include AbadieJoris.h
qdir.h
# include # include iostream
string using namespace std;
int main (int argc, char * argv []) {
string build = "Exo"
QDir LDIR;
lDir.mkdir (construire.c_str ());
; QApplication app (argc, argv);
AbadieJoris window;
fenetre.show ();
app.exec return ();
}
AbadieJoris.h developments since my window qt
Five minutes of laughter for an adult, had an eternity to a child.
0 comments:
Post a Comment