Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Undeclared QMetaObject::SuperData



  • We have a couple projects that we developed using Visual Studios 2017, VisualGDB Vers 5.5 and Qt Version 5.12.3. My computer was updated and I needed to reinstall all the above tools. I intially installed a later version of Qt but then reverted back to Version 5.12.3. When I try to build our existing projects I am getting an undeclared QMetaObject::SuperData error. When I look at the moc file I see that it is using vers Qt 5.15.5. Not sure if this error is caused by an incompatibility of versions or not. Tried to uninstall everything and re install the desired versions, but still ahve the same issue. Creating a new project also has this error.


  • Lifetime Qt Champion

    @sbartolett said in Undeclared QMetaObject::SuperData:

    Not sure if this error is caused by an incompatibility of versions or not. T

    At leasr you should not mix them. Remove the 5.15.5 stuff from your build system (did not say what you're using).