A simple question, to use the file in QT, can I use the QT libraries, or can I use the C ++ library (FIle *) and only call the function to create the file from the outer class.
Person * p = new person ();
QString name = ui->txtName->text();
QString number = ui->txtNumber->text();
p-> setNome (name);
p-> setNumber (number);
arch.create (p-> getName (), p-> getNumber);
In this example the create method receives the variables from the person object to create the file