the printing does not work.
code:
....
QTextEdit* edit = new QTextEdit;
....
void MainWindow:rint()
{
QPrinter printer ;
QPainter painter(&printer);
edit->document()->print(&printer);
}
error-messages: can't access to p!6 p!6........
file or directory not found
QPainter::begin() : returned false
Bookmarks