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

ContextKit documentation of Publish & Subscribe is incorrect

    XMLWordPrintable

Details

    • b2e51a09d50c4968754f88c876a2e2642ee7ebbc

    Description

      Following code snippet is incorrect in Publish & Subscribe documentation( http://doc.qt.nokia.com/qtmobility-1.2/publ-subs.html#declaring-value-space-paths-using-property-declaration-files )

      Incorrect:
      meego

      { contextreg.sources = example.context contextreg.path = /usr/share/contextkit/providers INSTALLS += contextreg }

      This should be:
      contains(MEEGO_EDITION,harmattan) {
      contextreg.files = example.context
      contextreg.path = /usr/share/contextkit/providers
      INSTALLS += contextreg
      }

      Also following sentences are unnecessary
      "Additionally, it is common on ContextKit platforms to make use of a database cache of the registry, which can usually be regenerated with the command update-contextkit-providers. This is the case on Maemo, where the command should be appended to the bottom of the debian/postinst script during packaging."
      because in the http://maemo.gitorious.org/maemo-af/contextkit/blobs/master/doc/context-providers.txt file has been mentioned that update-contextkit-providers is not needed with debian packages. See statement below:

      "But, if a property declaration file is installed via a Debian package,you should not call update-contextkit-providers in your maintainer scripts. Triggers in the relevant packages take care of running update-contextkit-providers at the right time and only as often as necessary."

      Attachments

        Activity

          People

            satu.m.makela satu makela
            tarmo Tarmo Lehto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: