Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11519

qmake handles DEPLOYMENT keyword incorrectly in project files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.6.3
    • None
    • None
    • Qt 4.6.3 for Symbian
    • bc3c9ed2c7a65f976138584298085f79ed85d255

    Description

      Qmake seems to handle Symbian deployment directives incorrectly in Qt 4.6.3. In previous qmake versions, one could give any path for the DEPLOYMENT directive, and the path would be set correctly to the PKG file. As of Qt 4.6.3 the path always points inside the Symbian SDK (even if the source file is located elsewhere), and therefore the packaging fails. Below are relevant parts of an example where a pre-compiled DLL is added to a SIS package.

      Symbian specific deployment in project.pro:

      symbian {
          example-dll.sources = example.dll
          example-dll.path = \sys\bin
          DEPLOYMENT += example-dll
          example-qtplugin.sources = qmakepluginstubs\example.qtplugin
          example-qtplugin.path = \resource\qt\plugins\testplugins
          DEPLOYMENT += example-qtplugin
      }
      

      Resulting PKG file contents in qmake of Qt 4.6.2 (this works):

      "c:/ProjectDirectory/example.dll"    - "!:\sys\bin\example.dll"
      "c:/ProjectDirectory/qmakepluginstubs/example.qtplugin"    - "!:\resource\qt\plugins\testplugins\example.qtplugin"
      

      Resulting PKG file contents in qmake of Qt 4.6.3 (this fails):

      "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/sys/bin/example.dll"    - "!:\sys\bin\example.dll"
      "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/resource/qt/plugins/testplugins/example.qtplugin"    - "!:\resource\qt\plugins\testplugins\example.qtplugin"
      

      Error : Cannot find file : /S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/sys/bin/example.dll

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            anttip Antti Poikela
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes