This article applies to SUSE Enterprise Linux users.
SUSE Enterprise 15 SP2 official repositories do not contain libQt5WebKit anymore which is required by TeamViewer.
It is possible to install these packages using SUSE Package Hub.
Before installing TeamViewer, please enable package hub with
SUSEConnect -p PackageHub/15.2/x86_64
After that, TeamViewer can be installed as usual, see
How to install TeamViewer for Linux