Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Current Position
QtWS25 Last Chance

Current Position

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 4 Posters 2.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SimonJudge
    wrote on last edited by
    #1

    I am using QML PositionSource with Mobility 1.1 on Symbian^3 (C7). I am using the Nokia Tech Preview SDK (and included Qt installs).

    I can view Maps (proved Mobility is working ok) but when I try to use PositionSource, the app exits with...

    Process 660, thread 661 stopped at 0x8044fe1b: Thread 0x295 has panicked. Category: Lbs Client Fault; Reason: 6

    @PositionSource {
        id: positionSource
        updateInterval: 1000
        active: true
    
        onPositionChanged: {
            console.log("Map onPositionChanged");
            if (position.longitudeValid && position.latitudeValid) {
                mapImageCurrentLocation.coordinate.latitude = position.coordinate.latitude
                mapImageCurrentLocation.coordinate.longitude = position.coordinate.longitude
                mapImageCurrentLocation.visible = true;
            }
        }
    }@
    

    Simon

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dalaing
      wrote on last edited by
      #2

      That error is typically related to capabilities issues:
      http://doc.qt.nokia.com/qtmobility-1.1.1/quickstart.html

      Basically, you'll need to add the "Location" capability to your pro file.

      Because people keep asking about this we've added further documentation and have also added some code so that people will get invalid / null position sources if they don't have the capabilities instead of getting a panic.

      As an aside, googling for "Lbs Client Fault; Reason: 6" would have returned a multitude of answers, since the results are now mostly to do with Qt Location. This is partly my fault for not making the previously mentioned changes sooner, although I'm confident a decent fraction of those results would have just changed to "why is QGeoPositionInfoSource::createDefaultSource() returning 0?" :)

      David Laing
      Location API team
      Qt Mobility

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        [quote author="david.laing" date="1300231803"]That error is typically related to capabilities issues:
        http://doc.qt.nokia.com/qtmobility-1.1.1/quickstart.html

        Basically, you'll need to add the "Location" capability to your pro file.

        Because people keep asking about this we've added further documentation and have also added some code so that people will get invalid / null position sources if they don't have the capabilities instead of getting a panic.

        As an aside, googling for "Lbs Client Fault; Reason: 6" would have returned a multitude of answers, since the results are now mostly to do with Qt Location. This is partly my fault for not making the previously mentioned changes sooner, although I'm confident a decent fraction of those results would have just changed to "why is QGeoPositionInfoSource::createDefaultSource() returning 0?" :) [/quote]
        I am sure they still will, probably. Perhaps a panic is a more clear sign that something is wrong than getting a 0 result, even. Better documentation should help though :)

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qtrahul
          wrote on last edited by
          #4

          Where you have downloaded Nokia Tech preview.
          Nokia Tech preview SDK is what ?

          Use this : "Qt SDK 1.1 Beta":http://labs.qt.nokia.com/2011/03/01/qt-sdk-1-1-beta-released/

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved