Thread
:
Python GPS location with QT4 problem
View Single Post
prasecz
2010-04-25 , 19:39
Posts: 7 | Thanked: 1 time | Joined on Sep 2009
#
1
Hello,
I've tried python location gobject-style example and it works fine on N900:
http://wiki.maemo.org/PyMaemo/Using_Location_API
But I want to use it in my PyQt4 based widget and I'm facing fatal problem:
it randomly, very often ends with segmentation fault.
Sometimes right after call to control.start(), otherwise when on_changed() callback is called.
I think it must be in different event loop handling.
Does anyone know how it should be done in Qt?
Something similar to gobject.idle_add(start_location, control) ?
Quote & Reply
|
The Following User Says Thank You to prasecz For This Useful Post:
benh_n900
prasecz
View Public Profile
Send a private message to prasecz
Find all posts by prasecz