# include "mainwindow. H"
#include
#include
#include
Int main (int arg c, char * argv [])
{
QApplication a(argc, argv);
The MainWindow w;
SAConnection con;
Try {
Con. Connect (" former ", "Scott", "tiger", SA_Oracle_Client);
QDebug () & lt;
/*
The rest of The tutorial goes here!
*/
Con. Disconnect ();
QDebug () & lt;
The catch (SAException & amp; X) {
con.Rollback();
QDebug () & lt;
w.show();
return a.exec();
}