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

can't include moc generated code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 1.12.0
    • 1.7.2
    • Libraries: Qt
    • None

      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))

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes