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

qmake function contains consider spaces but documentation does not mention about it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.8.0
    • Build tools: qmake
    • None
    • QT Android for armeabi QT 4.8, Windows 7 x64

    Description

      According to documentation

      http://qt-project.org/doc/qt-4.8/qmake-function-reference.html#contains-variablename-value

      function contains is searching substring in string.

      But in reality the spaces are needed:

      drivers = trr network raqqq
      drivers2 = trrnetwork raqqq
      contains( drivers, network ) = true
      contains( drivers2, network ) = false

      The documentation should be updated or the function fixed.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            qub1n Tomas Kubes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes