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

Moc changes cause build compilation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.9
    • Build tools: moc
    • Linux/Wayland

    Description

      Since  da4a6cf78ff42a4f69c2775997ff174ef647f3f3
      (change ID I8a96935cf6c742259c9dfffd17e951563adde9a1)

      compiling Kwin gives the following error:

       

       

      
      In file included from /home/david/projects/kde6/build/plasma/kwin/src/kcms/screenedges/kwinscreenedgedata.cpp:25: 
      /home/david/projects/kde6/build/plasma/kwin/src/kcms/screenedges/kcm_kwinscreenedges_autogen/include/moc_kwinscreenedgedata.cpp:58:35: error: no function template matches func
      tion template specialization 'qt_call_create_metaobjectdata' 
        58 | template <> constexpr inline auto qt_call_create_metaobjectdata<qt_meta_tag_ZN4KWin18KWinScreenEdgeDataE_t>() 
           |                                   ^ 
      /home/david/projects/kde6/build/plasma/kwin/src/kcms/screenedges/kcm_kwinscreenedges_autogen/include/moc_kwinscreenedgedata.cpp:60:38: error: 'qt_create_metaobjectdata' is a p
      rivate member of 'KWin::KWinScreenEdgeData' 
        60 |     return KWin::KWinScreenEdgeData::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin18KWinScreenEdgeDataE_t>();
       

       

      The class in question is not very interesting. It has a valid Q_OBJECT line. Nothing else is interesting. The only twist is that it's an autogenerated file, but before moc is run.

       

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            davidedmundson David Edmundson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes