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

string literal concatenation causes qmake to fail to detect dependencies

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. main.cpp
          0.3 kB
          Denis Dzyubenko

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes