![]() |
Re: How to create Qt service?
Quote:
The function onGotContacts is the one which begins the parsing of the XML data returned by the Google Contacts API. This file has the XML parser for the contacts data that you get from the previous file. |
Re: How to create Qt service?
Quote:
tl;dr: Use a QTimer and quickly get to the more interesting bits :p |
Re: How to create Qt service?
Quote:
Note thought that it is Maemo-specific. |
Re: How to create Qt service?
A QTimer of 1000ms didn't affect my CPU much, so I guess it's light on processing/battery power :P
|
Re: How to create Qt service?
Quote:
What I meant is that a daemon (QtService application) started from event.d (used in maemo) while booting will try to access for instance QContactManager.contacts() as root and not as user, resulting in many interesting errors. The solution is to start the daemon as user (what I in the sleep deprived state I was in, called for user space), this is done by starting the daemon with the following command in event.d : Code:
su -c '<path and name of your daemon>' -l user Kim |
Re: How to create Qt service?
Code:
su -c '<path and name of your daemon>' -l user |
All times are GMT. The time now is 15:09. |
vBulletin® Version 3.8.8