Why can't I use function print() in linux ? In windows I can and in linux I can't:
my function:
void MyWindow::Print()
{
{
textbox -> print (&printer);
}
}
void MyWindow::Print()
{
QPrintDialog x (&printer,this);
if (x.exec() == QDialog::Accepted)
{
textbox -> print (&printer);
}
}
To copy to clipboard, switch view to plain text mode
mistake:
error
: ‘class
QTextEdit’ has no member named ‘print’
error: ‘class QTextEdit’ has no member named ‘print’
To copy to clipboard, switch view to plain text mode
Bookmarks