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

can't include moc generated code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.12.0
    • 1.7.2
    • Libraries: Qt
    • 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

            kandeler Christian Kandeler
            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