Why can't I use function print() in linux ? In windows I can and in linux I can't:
my function:
Qt Code:
  1. void MyWindow::Print()
  2. {
  3. QPrintDialog x (&printer,this);
  4. if (x.exec() == QDialog::Accepted)
  5. {
  6. textbox -> print (&printer);
  7. }
  8. }
To copy to clipboard, switch view to plain text mode 

mistake:
Qt Code:
  1. error: ‘class QTextEdit’ has no member named ‘print’
To copy to clipboard, switch view to plain text mode