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

qmake: various special characters cannot be backslash-escaped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.7.2
    • Build tools: qmake
    • None

      test = a\\
      test2 = b
      
      message($$test) # a\ test2 = b
      
      
      WARNING: test.pro:1: Unescaped backslashes are deprecated.
      

      The backslash next to the last is considered unescaped (though it does appear in the variable), and the last backslash is handled as an escaped newline...

      Expected behavior:

      test = a\\
      test2 = b
      
      message($$test) # a\
      

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

            buddenha Oswald Buddenhagen
            orgads Orgad Shaneh
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes