Install qml-module-qt-websockets by entering the following commands in the terminal:
sudo apt update sudo apt install qml-module-qt-websockets
Description:
Qt 5 Web Sockets compatibility QML module
Qt is a cross-platform C++ application framework. Qt's primary feature is its rich set of widgets that provide standard GUI functionality. . This package contains the compatibility Qt.WebSockets QML module. Do not use it, use QtWebSockets module instead (in qml-module-qtwebsockets package).
Homepage: https://qt.io/
Version: 5.9.5-0ubuntu1
Section: universe/libs