you can use miracast to connect your LG Q7 218 to tv
Find Smart TVs that support Miracast
The screen transmission of an Android phone with Miracast is simple: go to the Settings menu, select Screen and then Transmit. The icon of the latter command is sometimes available in the menu dedicated to notifications and quick commands of the main screen of the smartphone. The name of the receiving device, such as the TV, will appear and simply click it.