Install automoc by entering the following commands in the terminal:
sudo apt update sudo apt install automoc
automatic moc for Qt 4 packages
This package contains the automoc4 binary which is used to run moc on the right binaries in a Qt 4 or KDE 4 application. . Moc is the meta object compiler which is a much used tool when using the Qt toolkit.