Initially, I had a problem with Cisco PacketTracer 7.3.1 libraries in Ubuntu 20.04.
Managed to fix it by installing the missing libraries.
sudo apt install libqt5webenginewidgets5 libqt5webenginecore5 libqt5script5 libqt5scripttools5
However, I'm getting another error after that
wolf@linux:/opt/pt/bin$ ./PacketTracer7 ./PacketTracer7: symbol lookup error: ./PacketTracer7: undefined symbol: _ZN16QWebSocketServer19handleTCPConnectionEP10QTcpSocketRK7QString, version Qt_5 wolf@linux:/opt/pt/bin$
If you want to try, get it from here. It's free, but registration is required