[Qt-mobility-feedback] 'General OS-related error' when using location APIs on Symbian
aaron.tunney at accenture.com
aaron.tunney at accenture.com
Wed Jul 7 12:31:08 CEST 2010
Thanks Rod! I tried reverting back to Qt Mobility 1.0.0 on the device as a quick test and I'm not seeing the error anymore.
Aaron Tunney, Accenture
From: Roderick Burns [mailto:roderickb at symbian.org]
Sent: 07 July 2010 10:40
To: Tunney, Aaron
Cc: qt-mobility-feedback at trolltech.com
Subject: Re: [Qt-mobility-feedback] 'General OS-related error' when using location APIs on Symbian
Hi Aaron,
I believe this bug is the problem http://bugreports.qt.nokia.com/browse/QTMOBILITY-360
Rod.
On 7 July 2010 10:32, <aaron.tunney at accenture.com<mailto:aaron.tunney at accenture.com>> wrote:
Hi,
I have a problem with the Qt Mobility location APIs on Symbian and was wondering if anyone could help me.
I have written an application that takes advantage of Qt Mobility. Following the Qt Mobility quick start example, I can successfully check for the presence of location sensor using QSystemInfo (part of systeminfo). On the N97, this returns true.
However, as soon as I make a call to one of the location APIs, I start seeing errors. I've tried to copy the example from http://doc.qt.nokia.com/qtmobility-1.0-tp/location-overview.html#requesting-location-data-from-data-sources . The code compiles fine but I see an error when trying to run the code on the device from the IDE. I only need to include the first line of the constructor (QGeoPositionInfoSource *source...) in the example to see the problem. The error is:
Executable file: 12052 2010-07-06T16:32:37 V:\\epoc32\release\armv5\udeb\gps_app.exe
Package: 26468 2010-07-07T09:57:29 V:\Projects\gps_app\gps_app.sis
Deploying application to 'Nokia N97 USB (COM4)'...
Copying install file...
Installing application...
Starting application...
Could not start application: General OS-related error
Finished.
I tried putting a QDebug statement at the start of my main() function but it isn't hit.
My first thought was that the capabilities of my executable were wrong. However, my application definitely includes Location as one of its capabilities (as well as the other user capabilities). Also, I would expect the process to fail at the installation phase rather than the run phase if it was a capability problem.
I also checked to see whether I definitely had Qt and Qt Mobility installed on the device and I definitely do have them both installed.
My environment is as follows:
- Qt 4.7.0 beta1 (from binaries)
- Qt Mobility 1.0.1 (from binaries)
- Nokia N97 (S60 5th edition) SDK
- Qt Creator 2.0 (reported as 1.3.83 in the About dialog)
Any ideas what's wrong?
Thanks!
Aaron Tunney, Accenture
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
_______________________________________________
Qt-mobility-feedback mailing list
Qt-mobility-feedback at trolltech.com<mailto:Qt-mobility-feedback at trolltech.com>
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
Some facts about Symbian that we are legally obliged to tell you:
Symbian Foundation Limited is a Company Limited by Guarantee and not having Share Capital
We're registered in England and Wales - Companies House knows us by the number 6683783
Our address is 1 Boundary Row, Southwark, London SE1 8HP.
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-mobility-feedback/attachments/20100707/adeefefb/attachment.html
More information about the Qt-mobility-feedback
mailing list