[Qt-interest] segfault while printing QWebView/QMdiArea **Solved
hugh
hdixon at bigpond.net.au
Mon Apr 26 09:38:00 CEST 2010
On Sat, 24 Apr 2010 10:09:29 am hugh wrote:
> Hi,
> I am wanting to use a QWebView in a QMdiArea. It seems to work OK, until I
> try to print. I get a segfault on the QWebView::page() function.
>
> Without going into code snippets etc, can anyone tell me:
> Is there something special I need to do to put a QWebView into a QMdiArea?
> (The idea of page() and particularly mainFrame() in a QMdiArea seem wrong
> to me) This may be a fundamental problem in how I am setting things up.
>
> Am I correct in thinking I need to call QWebView::page()::mainFrame() to
> get to a render/print function so I can print? ~ or is there an easier
> way? (btw Do I **need** to set the render hints, cos I'm not.)
>
> I am thinking there is some bit of documentation I have missed about how to
> set up the QWebView, so a link to a help page that deals with this would be
> greatly appreciated.
>
> Hugh
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
Solved.
A problem elsewhere in my code. the printing and page() all work as they
should
Hugh
More information about the Qt-interest-old
mailing list