In view.h file :

```
friend QDebug operator<< (QDebug , const Model_Personal_Info &);

```

In view.cpp file :

```
QDebug operator<< (QDebug out, const Model_Personal_Info &personalInfo) {
    out << "Personal Info :\n";
    return out;
}

```

after calling :

```
qDebug() << personalInfo;

```

It is suppose to give output : `"Personal Info :"`

but it is giving an error :

```
error: no match for 'operator<<' in 'qDebug()() << personalInfo'

```