change this
Qt Code:
  1. onnect( boton_haceralgo, SIGNAL(clicked()), this, SLOT ( doSomething(argc, argv)));
To copy to clipboard, switch view to plain text mode 

to

Qt Code:
  1. onnect( boton_haceralgo, SIGNAL(clicked()), this, SLOT ( doSomething()));
To copy to clipboard, switch view to plain text mode 

and

Qt Code:
  1. nt miApVentana::doSomething()
  2. {
  3. //QApplication app(argc, argv);
  4. ventanina *dialog = new ventanina;
  5. dialog->show();
  6. //return app.exec();
  7. }
To copy to clipboard, switch view to plain text mode