Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-235

Usage of QCompass fails in device

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • 1.0.1
    • 1.0.0
    • Sensors
    • None
    • Nokia N97 device with S60 5th edition symbian

      Creating sensor with QCompass fails with KERN EXEC 3 at symbian S60 5th N97 device. Compass cannot be created, you have to use QSensor with QByteArray compass("QCompass") instead and when reading data do static_cast QSensorReading to QCompassReading.

      Here is code snippet to clarify issue:

      QSensor* m_compass;
      QSensorReading* m_currentCompassReading;

      m_compass(new QSensor("QCompass", this))

      QCompassReading reading = static_cast<QCompassReading>(m_currentCompassReading);
      reading->azimuth()

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lramsay Lincoln Ramsay (closed Nokia identity) (Inactive)
            passeli Pasi Petäjäjärvi (Private) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes