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

moc fails to parse a line starting with "#//" after a signals declaration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.0.0 Beta 1
    • 4.7.4
    • Build tools: moc
    • None
    •  d2090e19a93fca9b5015d3a6978d7079e1414e13

      moc fails to parse a line starting with "#//" after a signals declaration. It appears to work fine in other places, but not after a signal. So:

      signals:
          void testSignal();
      #//
      

      will cause a parse error. Complete header file to reproduce this is attached.

        For Gerrit Dashboard: QTBUG-22717
        # Subject Branch Project Status CR V

            ogoffart Olivier Goffart (Woboq GmbH)
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes