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

System Information does not compile on Maemo6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.2.0
    • 1.2.0
    • System Information
    • None
    • 53854fb8c3c602cb9f1f95188ec5f0a328cce3ae 91477688c3fc76ec8561b26f7f1f89d5bb5716c2

    Description

      I get the following errors, when trying to compile SysInfo on Maemo6 due to header changes:

      qsysteminfo_maemo.cpp:1011: error: no 'QtMobility::QSystemDisplayInfo::DisplayOrientation QtMobility::QSystemDisplayInfoPrivate::getOrientation(int)' member function declared in class 'QtMobility::QSystemDisplayInfoPrivate'
      qsysteminfo_maemo.cpp: In member function 'QtMobility::QSystemDisplayInfo::BacklightState QtMobility::QSystemDisplayInfoPrivate::backlightStatus(int)':
      qsysteminfo_maemo.cpp:1081: error: 'backlightStateDimmed' is not a member of 'QtMobility::QSystemDisplayInfo'
      qsysteminfo_maemo.cpp:1083: error: 'backlightStateOn' is not a member of 'QtMobility::QSystemDisplayInfo'
      qsysteminfo_maemo.cpp: At global scope:
      qsysteminfo_maemo.cpp:1291: warning: unused parameter 'str'
      make: *** [../../build/Debug/QtSystemInfo/qsysteminfo_maemo.o] Error 1
      

      Please review the attached patches, which modify the implementation to match the headers.

      Attachments

        1. backlightstate-enums.diff
          0.8 kB
          Matias Muhonen
        2. linux-orientation-to-linux-common.diff
          7 kB
          Matias Muhonen

        Issue Links

          Activity

            People

              lopotter Lorn Potter (closed Nokia identity) (Inactive)
              mamuhone Matias Muhonen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: