Skip to content

Instantly share code, notes, and snippets.

@esmarr58
Created January 23, 2018 22:28
Show Gist options
  • Save esmarr58/05da2947e106c2367c1d9c99a92516f7 to your computer and use it in GitHub Desktop.
Save esmarr58/05da2947e106c2367c1d9c99a92516f7 to your computer and use it in GitHub Desktop.
void MainWindow::on_pushButton_clicked()
{
QString texto = ui->lineEdit->text();
QString comando = "mkdir "+texto;
system(comando.toUtf8().constData());
ui->label->clear();
ui->label->setText("Carpeta creada");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment