Well, Im changing to Solved, as @SGaist you are correct, best way was using a QDataStream to save and load data I used QByteArray and worked for me, but instead on saving internally I used a MYSQL database (localhost) to save pictures and works as a charm. Thanks for your time. here the code that worked for me: Hope it helps someone with the same issue.
void MainWindow::on_pushButton_save2SQL_clicked()
{
auto fileName = QFileDialog ::getOpenFileName(this,"Select Image","/home/pi/Pictures","Image Files (*.png *.jpg);;Any file (*.*)");
if (fileName.isEmpty()) {
return;
} ui->nombreArchivoLineEdit->setText(fileName);
QFile file (fileName);
if (!file.open(QIODevice::ReadOnly)) return;
QByteArray inbyteArray = file.readAll();
QSqlQuery query;
query.prepare("INSERT INTO try (image) VALUES (:imageData)");
query.bindValue(":imageData",inbyteArray);
query.exec();
mModel->select();
}