I'm a novice to use c++ and morely qt. I've developed a multi-class software to calculate easter date. Now i'd like to write it to a label on button click, but i get a -i think- segmentation fault. My code is this -just a function, but please, ask if you want to see other parts-:
    void MainWindow::on_btn_calcola_clicked()
    {
        Easter *e;
        int anno = ui->text_anno->text().split(" ")[0].toInt();
        int *date = e->dataPasqua(anno);
        int giorno = date[0];
        int mese = date[1];
        QString d = QString::number(giorno);
        QString m = QString::number(mese);
        QString dataCompleta = d+"/"+m;
        ui->lbl_result->setText(dataCompleta);
    }
What's wrong? Thankyou so much!
 
     
    