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

Symbian-abld and symbian-sbsv2 mkspecs replace characters with underscore in TARGET too aggressively

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.2
    • 4.7.2
    • Build tools: qmake
    • None
    • 4ec245a3e75470186557d00b2383af3872a720b0

    Description

      "-" and "." characters in TARGET variable should not be replaced by underscores, as these are acceptable characters in a Symbian binary name (at least toolchain allows them no problem when manually given in MMP target). The reason why this replacement is done is because the fixed target name is used in many constructs in various generated files, and in some of those constructs these characters are not allowable. However, there is no compelling reason to use the exact same string for all these constructs as long as they can all be predictably derived from TARGET.

      Doing this replacement makes binaries produced by symbian-abld and symbian-sbsv2 mkspecs to be different than those produced by Makefile based mkspecs, which is very bad e.g. for any project that wants to link against a library that has one of these replaced characters in its name.

      Note that changing this behavior may cause regressions in some projects that have these characters in TARGET in .pro file.

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes