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

Path separator should not be hardcoded on Qtopia Core

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • 4.6.1
    • None
    • Other
    • None

    Description

      There should be a way to modify the path separator for Qtopia Core at compile time (ie: switching between \ and /). Although this is not generally a problem because this happens in platform specific code where were generally know the separator, adding this feature would make porting Qtopia Core to new platforms easier. One solution would be to add the following to qplatfromdefs.h:

      #define QT_PATH_SEPERATOR_CHAR '/'
      #define QT_PATH_SEPERATOR_STRING "/"

      OR

      #define QT_PATH_SEPERATOR_CHAR '
      '
      #define QT_PATH_SEPERATOR_STRING "
      "

      and use this instead of hard coding the slash.

      Attachments

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

        Activity

          People

            tvete Paul Olav Tvete
            jabarron Jason Barron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes