Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1124

can't include moc generated code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.12.0
    • Component/s: Libraries: Qt
    • Labels:
      None

      Description

      I have a class using Q_PRIVATE_SLOT and unsurprisingly moc doesn't know about the private class.

      Usually with CMake I would include the moc generated .cpp file but this doesn't seem to be possible with qbs as it asserts in src/corelib/buildgraph/rulenode.cpp line 129:

      QBS_CHECK(parent->transformer->inputs.contains(artifact))

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            plfiorini Pier Luigi Fiorini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes