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

Build failure after renaming a method in a moc-ed object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 1.1.1
    • General
    • None

    Description

      I renamed a method of a moc-ed object. Now the build fails due to moc files of derived classes still referencing the old method.

      Try this: Rename Core::BaseFileWizard::selectExtensions() to extensions() and hit rebuild. I get one of these per class derived from BaseFileWizard:

      /home/code/build/creator-clang-no-asan/qtc_Desktop_Clang-debug/.obj/Designer/GeneratedFiles/Designer/moc_formwizard.cpp.o.data.rel.ro+0xa8): undefined reference to `Core::BaseFileWizard::selectExtensions()'

      Touching the derived class' header file fixes the issue.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            hunger Tobias Hunger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes