[Interest] Running as nobody, generating images

Harri Pasanen harri at mpaja.com
Thu Feb 9 10:14:59 CET 2012


Picking your collective brain here...

I'm trying to do some batch style image processing with a Qt app, using 
QImage.
As QCoreApplication / console everything compiled, but silently failed 
at runtime.

As QApplication with a MainWindow things started to work but looks like 
a display is required.
I tried to set a timer to run my app on N9 using dbus/timed, and while 
the application starts,
it seems to be always running as nobody:nogroup and thus fails, probably 
as it cannot get
hold of the display.  The timed docs say that it should run as user,
using Maemo::Timed::Event::Action::runCommand, but that does not seem to 
be the case.

I've thought about porting libgd, or using python-imaging, but these are 
almost overkill for me.
The only thing I'd really need is open png, drawPixmap(x,y) on it, save png.

Would you have other suggestions?

Harri



More information about the Interest mailing list