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

Add more functions to qmake

    XMLWordPrintable

Details

    Description

      Add the following new functions to 'qmake':

      • runique( list_variable ):

      Removes words duplication in the provided list. It works like
      unique function with only one difference. It starts looking from the
      last element and removes duplications till list's head.

      • convert_separators( path )

      Returns a path with the '/' separators converted to separators
      that are appropriate for the underlying operating system.

      • eval( variable )

      Evaluates variable's value by replacing all references to
      variables and performing replacement functions.

      • eval_cap( variable )

      Works like eval command but replace all output letters capital.

      • exit( messageText )

      Aborts project file's processing and print messageText to output
      console.

      • direxists

      description is almost the same like "exists" has, but it works
      with a directory. See "exists".

      • tofile( filename, message )

      "Message" text string will be appended to "filename" file

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            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