Qtopia-interest Archive, August 2007
application's current directory
Message 1 in thread
hello,
does anybody know how I can retrieve an application's current directory
on the greenphone? when I install an application, it is stored under
/mnt/disk2/packages/(some-hash-value)/somewhere, but when I read out
QDir::current(), I always get "/" as current path.
Any ideas?
Thanks in advance,
Peter
--
[ signature omitted ]
Message 2 in thread
Peter Hartmann wrote:
> does anybody know how I can retrieve an application's current directory
> on the greenphone?
ok I'm sorry, I should have searched more closely. It works with
QCoreApplication::applicationDirPath() .
Regards,
Peter
--
[ signature omitted ]