I need to send reference a `QPlainTextEdit` to my C++ class `Analizador` for add lines to `QPlainTextEdit` from my class. I add the include `<QPlainTextEdit>` to the class, create the `QPlainTextEdit` from the graphic interface and call the constructor function just like that 

```
Analizador *anal=new Analizador(ui->textProgres);

```

the constructor function is: 

```
Analizador(QPlainTextEdit* text);

```

the compiler throw the error : 

> 
> mainwindow.cpp:23: error: undefined reference to
>  `Analizador::Analizador(QPlainTextEdit\*)'
> 
> 
> 

so I guess the error is because I'm not sending a pointer to the constructor function but I don't know how to access the pointers of `QPlainTextEdit`

PS. I'm new in Qt and C++