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

include moc files [QtBase]

    XMLWordPrintable

    Details

    • Epic Link:
    • Story Points:
      5
    • Commits:
      dffca8bb0e (qt/qtbase/dev) dffca8bb0e (qt/tqtc-qtbase/dev) 0f2b1f45b1 (qt/qtbase/6.3) 0f2b1f45b1 (qt/tqtc-qtbase/6.3) 417f02f06d (qt/tqtc-qtbase/6.2)
    • Sprint:
      Team B Foundation Sprint 56

      Description

      By #include ing not only the *.moc, but also the moc_*.cpp files, we can speed up compilation of Qt (albeit not for users of Qt), reduce the TEXT size of libraries, and enable more warnings (like Clang's -Wunused-private-field). There's an includemocs script in QtBase, but it requires a qmake build to work on.

      Acceptance criteria:

      1. mocs_compilation.cpp files should not #include anything.
      2. the process is more automated for other modules.

        Attachments

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

          Activity

            People

            Assignee:
            mmutz Marc Mutz
            Reporter:
            mmutz Marc Mutz
            PM Owner:
            Vladimir Minenko Vladimir Minenko
            RnD Owner:
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes