Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-157

Rework "path" conversions based on the platform

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • QtTAS Future
    • QtTAS: General
    • Android

    Description

      What:

      Rework all the "paths" to make sure, everywhere, we use path strings through an instance of "File" instead of a String or check that all the strings used are absolute and OS specific.

       

      Why:

      While testing QtTAS 3.0 we ran into a case where evet.getPath() was returning a non OS specific path and that was causing a problem when comparing it with getQtProjectLocation that is OS specific.

      Problem before (589793):

      • event.getPath():
        • C:/Qt/Examples/Qt-6.8.0/platforms/android/qtquickview/CMakeLists.txt
      • getQtProjectLocation():
        • C:\Qt\Examples\Qt-6.8.0\platforms\android\qtquickview

      Attachments

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

        Activity

          People

            nikunj Nikunj Arora
            teko Tero Koponen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes