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

string literal concatenation causes qmake to fail to detect dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.0 RC
    • 4.7.0
    • Build tools: qmake
    • None
    • 8fd05e6289a3190a9e1e5056ecff2a0e02aac2c2

      moc fails to parse a certain string and silently stops parsing the header file and not generating the output.

      the code that moc fails on is the following string declaration

      foo("bar""baz");
      

      adding a space between quote characters or removing double quote fixes the problem.

        1. main.cpp
          0.3 kB
          Denis Dzyubenko
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Eddy Edward Welbourne
            dzyubenk Denis Dzyubenko (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes