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

service meta data file is not getting exported to correct location through QTSERVICE.DESCRIPTOR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.2.0
    • 1.1.2
    • Service Framework
    • None
    • 6f81c8307dbe08488d07fea461c0bc26f4a86814

    Description

      We are facing a problem with QTSERVICE.DESCRIPTOR macro. In our .pro file we use following commands to register our service meta data xml file with QT service framework database:

      CONFIG += plugin mobility qtservice
      PLUGIN_TYPE = serviceframework
      MOBILITY = serviceframework
      QTSERVICE.DESCRIPTOR = nokiaurihandlerplugin.xml

      Problem is that the xml file is getting exported to:
      t:/epoc32/data/T/epoc32/winscw/c/private/2002AC7F/des/nokiaurihandlerplugin.xml

      and t:/epoc32/data/T/epoc32/data/z/private/2002AC7F/des/nokiaurihandlerplugin.xml

      instead of:
      t:/epoc32/winscw/c/private/2002AC7F/des/nokiaurihandlerplugin.xml

      and t:/epoc32/data/z/private/2002AC7F/des/nokiaurihandlerplugin.xml

      So the problem is clear that either QTSERVICE.DESCRIPTOR macro or something in QT service framework is out of whack.
      Because of this issue the services are not getting registered with QT service framework database and hence they can't be loaded from any application.
      This issue is present from wk 11 mcl onwards till date. Wk 10 mcl doesn't have this problem.
      I tried to import our service meta data xml file explicitly as follows:

      addFiles2.sources = nokiaurihandlerplugin.xml
      addFiles2.path = /private/2002AC7F/des

      DEPLOYMENT += addFiles addFiles1 addFiles2 xmlautoimport installer

      So the service meta data xml file gets exported to appropriate location but still it doesn't get registered with the QT service framework database.

      Attachments

        Activity

          People

            alex Alex (closed Nokia identity) (Inactive)
            alex Alex (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: