C++ QT

Jul 23 2015 9:09 AM

Hi , Im new in C++ Qt , so I've some problem

i can't connect FORM to access , and also can't load new image to LABEL .

thank you for your any suggestion 


void secondDialog::on_pushButton_clicked()
{
            QString s=QFileDialog::getOpenFileName(
            this,tr("Open file"),"C://","Picture file(*.png)");
                        QMessageBox::information(this,
                        tr("File name"),s);
}
void secondDialog::on_label_5_linkActivated(const QString &link)
{
           ui->label_5->setPixmap(QLabel::setPixmap(s));
}