Thanks for the input Juha,

I'm already using SisContents (yes it works with wine ;)). The
capabilities I was posting were retrieved using it. I've also checked
the capabilities of the Ovi plugin and it simply has all of them
enabled, so it still might be that I need some more - "Location" seems
not to be the problem, though.

Currently I'm simply doing "make sis" and that, I think, uses
self-signed certificates. I'll try using the Qt certificates and to
enable all capabilities. Lets see if this helps something.

Thanks again!
Conny


On Mon, 2011-01-31 at 16:58 +0200, Juha Turunen wrote:
> Hi,
> 
> Do you let qt build scripts sign the sis for you or do you explicitly
> sign with some certificate? If you haven't set them, the automatic
> signing will strip the Location capability from your exe, because it's
> not selfsignable on some ancient Symbian versions. I never understood
> the logic and given how many people encounter this same thing over and
> over again, the scripts shouldn't do it. The Symbian location API is
> pretty stupid too as it panics the thread if the capability is missing
> (instead of just returning an error like most other APIs do).
> 
> Improvement suggesting to QtMobility: user RProcess to check the
> capabilities of the process and print a warning to debug output and
> don't call the Symbian API to avoid crashing the whole application.
> 
> If you want to check whether this is causing your problems, you can
> download SisContents from: http://symbiandev.cdtools.net/. It's an
> excellent tool for analyzing what your sis file has eaten. With that
> tool you can check which capabilites the binaries in your sis file
> really have (+ do tons of other useful stuff). I'd guess it works with
> Wine.
> 
> During development you can sign your sis file with the certificates
> that come with your Qt installation
> (QTDIR/src/s60installs/selfsigned.cer and .key). In QtCreator they can
> be set in the projects tab/ Symbian Device / Run / Create SIS package
> step.
> 
> Hope this helps.
> 
> Juha
> 
> On Mon, Jan 31, 2011 at 4:20 PM, Cornelius Hald <[email protected]> wrote:
> > Hi,
> >
> > I'm honestly desperate. I have a geoservice plugin that I bundle with my
> > app. It works fine on Linux, Maemo5 and Windows, but it always crashes
> > on Symbian.
> >
> > Well at least something crashes, it looks like the code of my plugin is
> > never even executed. Unfortunately I don't get a stack trace or anything
> > useful to debug it.
> >
> > Here is what I have:
> >
> > * The crash happens when executing this line:
> > QGeoServiceProvider *sp = new QGeoServiceProvider("osm", params);
> >
> > * All methods of the plugin start with some qDebug() output. If I run
> > the code on the device (Nokia 5880) I get no output before it crashes,
> > therefore I assume that the code is never even executed.
> >
> > * Using my app with the Ovi Maps plugin works fine on the same device.
> >
> > * I'm using the prebuild Qt Mobility 1.1 / Qt 4.7.1 packages.
> >
> > * I'm building on Linux using gnupoc
> >
> > I _guess_ it's a deployment issue, but I'm a Symbian noob, so I'm not
> > sure. Here is the content of the sis file:
> >
> > !:\sys\bin\myapp.exe
> > !:\resource\apps\myapp.rsc
> > !:\private\10003a3f\import\apps\myapp_reg.rsc
> > !:\sys\bin\qtgeoservices_osm.dll
> > !:\private\e0f3ca43\plugins\geoservices\qtgeoservices_osm.qtplugin
> >
> > myapp.exe & qtgeoservices_osm.dll have the following permissions:
> > NetworkService, ReadUserData, WriteUserData, Location, UserEnvironment
> >
> >
> > I would be grateful for all tips why this crash happens or how I can
> > debug it. If you need further input, please tell me.
> >
> > Thanks!
> > Conny
> >
> >
> > _______________________________________________
> > Qt-mobility-feedback mailing list
> > [email protected]
> > http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback
> >
> _______________________________________________
> Qt-mobility-feedback mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback


_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

Reply via email to