RE: Noob question

2010-08-05 Thread tero.kojo
> -Original Message- > From: maemo-developers-boun...@maemo.org [mailto:maemo-developers- > boun...@maemo.org] On Behalf Of ext Eino-Ville Talvala > Sent: 05 August, 2010 21:14 > To: maemo-developers@maemo.org > Subject: Re: Noob question > > > Gerard, >

Re: Noob question

2010-08-05 Thread Eino-Ville Talvala
Gerard, As part of the FCam project web pages (it's a camera control API for the N900, though that doesn't matter for your question), we wrote up an lengthy 'getting started with N900 development' guide, aimed at people using the Nokia Qt SDK with no previous experience. The first part gets

RE: Noob question re Qt Application structure

2010-05-09 Thread Scifi Guy
Chitti Babu said: > >Hi Sudheer, > >Yes, I had a similar use-case and faced the same problem. >I ensured that my daemon was properly "osso-initialised" to ensure that its >triggered properly by gui-app via dbus-daemon successfully. > >But, in your use-case, you seem to use QT. I am not aware

RE: Noob question re Qt Application structure

2010-05-08 Thread Chitti Babu
ds, Chitti Message: 27 Date: Fri, 7 May 2010 23:26:18 -0700 From: Scifi Guy Subject: RE: Noob question re Qt Application structure To: Cc: Maemo Dev Mailing List Message-ID: Content-Type: text/plain; charset="iso-8859-1" >> Twas brillig at 10:05:38 07.05.2010 UTC-07 when sc

RE: Noob question re Qt Application structure

2010-05-08 Thread Scifi Guy
>if (!connection.registerObject("/org/maemo/vicar", this, >QDBusConnection::ExportScriptableSlots)) { >qDebug() << dbusUtility.getErrorMessage(); >exit(2); >} >1) If I reboot the device, the service does not get activated automatically. I >verified this by ru

RE: Noob question re Qt Application structure

2010-05-07 Thread Scifi Guy
>> Twas brillig at 10:05:38 07.05.2010 UTC-07 when scifi@hotmail.com >> did gyre and gimble: >> >> SG> Could you please elaborate what you mean by "upon first access"? >> >> There is elaborate documentation. >> >> http://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-starting

RE: Noob question re Qt Application structure

2010-05-07 Thread Scifi Guy
> From: dotted...@dottedmag.net > To: scifi@hotmail.com > CC: ian...@gmail.com; rkma...@gmx.com; maemo-developers@maemo.org > Subject: Re: Noob question re Qt Application structure > Date: Sat, 8 May 2010 00:19:03 +0700 > > > Twas brillig at 10:05:38 07.0

Re: Noob question re Qt Application structure

2010-05-07 Thread Mikhail Gusarov
Twas brillig at 10:05:38 07.05.2010 UTC-07 when scifi@hotmail.com did gyre and gimble: SG> Could you please elaborate what you mean by "upon first access"? There is elaborate documentation. http://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-starting-services -- http://

RE: Noob question re Qt Application structure

2010-05-07 Thread Scifi Guy
ianaré wrote: >Right, one way is to have two separate deb packages, making the GUI depend on >the daemon. This is expecially useful if you >envision the daemon to be >accessed by other apps or does not need the GUI in all cases. >Another way is to package both apps (executables) in the same

RE: Noob question re Qt Application structure

2010-05-07 Thread Scifi Guy
> From: dotted...@dottedmag.net > To: scifi@hotmail.com > CC: ian...@gmail.com; rkma...@gmx.com; maemo-developers@maemo.org > Subject: Re: Noob question re Qt Application structure > Date: Fri, 7 May 2010 23:26:50 +0700 > > > Twas brillig at 08:24:06 07.0

Re: Noob question re Qt Application structure

2010-05-07 Thread Mikhail Gusarov
Twas brillig at 08:24:06 07.05.2010 UTC-07 when scifi@hotmail.com did gyre and gimble: SG> I can exit the daemon by receiving a custom DBUS signal but how do SG> I launch it? Register it as a D-Bus service and daemon will be started by D-Bus upon first access. -- http://fossarchy.blogs

Re: Noob question re Qt Application structure

2010-05-07 Thread ianare
> Sudheer > > P.S: Sometimes 2 cents is worth more than a million :) > > > Date: Fri, 7 May 2010 10:54:15 -0400 > > Subject: Re: Noob question re Qt Application structure > > From: ian...@gmail.com > > To: rkma...@gmx.com > > CC: scifi@hotmail.com; ma

RE: Noob question re Qt Application structure

2010-05-07 Thread Ram Kurvakat
Message - From: Scifi Guy Sent: 05/07/10 04:24 PM To: ian...@gmail.com, rkma...@gmx.com Subject: RE: Noob question re Qt Application structure Hi Ram & ianaré, Thank you for the response. Creating two apps makes sense. I was trying to avoid user having to install two apps for one feature. Bu

RE: Noob question re Qt Application structure

2010-05-07 Thread Scifi Guy
54:15 -0400 > Subject: Re: Noob question re Qt Application structure > From: ian...@gmail.com > To: rkma...@gmx.com > CC: scifi@hotmail.com; maemo-developers@maemo.org > > I second that opinion. Subclassing by functionality is definitely good > for a single app, but if you need

Re: Noob question re Qt Application structure

2010-05-07 Thread ianaré sévi
I second that opinion. Subclassing by functionality is definitely good for a single app, but if you need to have the two parts running at different times a daemon app and a GUI app is the way to go. Another option you could use to interact with your two apps is through dbus itself, ince you will a

Re: Noob question re Qt Application structure

2010-05-07 Thread Ram Kurvakat
just my 2 pence worth. you should perhaps try to make 2 different apps for it. 1 which runs as a daemon and invoked on startup using an upstart http://upstart.ubuntu.com/getting-started.html script. and the other a GUI based app , that can interact with your daemon, via files, sockets, any whic