Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-772

No option to freeze an API of DLL

    XMLWordPrintable

    Details

    • Commits:
      4773cdf7c07b378af2cb0c1447734d58870e3075

      Description

      I believe this is a problem with both Qt Creator and with qmake.

      Symbian uses link-by-ordinal to link to DLLs. In order to maintain binary compatibility the position of each export needs to be kept the same every time a DLL is rebuilt. This is achieved using a .def file, that is created when you run abld freeze (actually there is a separate .def file created for winscw and eabi - in /bwins and /eabi folders respectively.
      If you forget to freeze your API the link library (dso) isn't exported and you get a number of warnings (you can over-ride this using EXPORTUNFROZEN, but its a bad idea except in the early phases of development)

      Anyway, there doesn't appear to be any make option to freeze the API (and this needs to be able to take a winscw or gcce/armv5 option). In addition, there is no Qt creator option to freeze the file. It would be good if Qt creator was smart enough to know that it was working on a Symbian DLL project and offer the option as a build step?

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jaggernod Paweł Polański
              Reporter:
              hamishwillee Hamish Willee
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes