[Kde-bindings] Qyoto issues - QPainter, QSvgGenerator
Ruth Ivimey-Cook
ruth at ivimey.org
Fri Feb 1 18:50:03 UTC 2013
Ruth Ivimey-Cook wrote:
> Dimitar Dobrev wrote:
>>
>> Could you try decorating your Main method with the [STAThread]
>> attribute?
> It already is... I almost included it, but here it is now:
>
>
By commenting out the readSettings code I've got it to create a
mainwindow now...
There is a strangeness to report. I am defining a new widget MapWidget
and the main init code copies View menu settings to the widget on
startup. If the map widget sees a change from it's internal value it
calls paintScene to update the GraphicsItemView it uses. When running in
PyQt this all worked fine, but in Qyoto I had to predicate the
paintScene code on the widget being Visible. I think the problem is that
some functions don't like being called too soon, and if they are they
zap memory somewhere. Too soon meaning before the Main Exec has run...
I can delve if needed.
Ruth
--
Software Manager & Engineer
Tel: 01223 414180
Blog: http://www.ivimey.org/blog
LinkedIn: http://uk.linkedin.com/in/ruthivimeycook/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20130201/ea314189/attachment.html>
More information about the Kde-bindings
mailing list