diff --git a/desktop/toolkit/qt5/qt5-websockets/actions.py b/desktop/toolkit/qt5/qt5-websockets/actions.py
index 4b617ba3eb..25b8484648 100644
--- a/desktop/toolkit/qt5/qt5-websockets/actions.py
+++ b/desktop/toolkit/qt5/qt5-websockets/actions.py
@@ -14,10 +14,10 @@ def setup():
qt5.configure()
def build():
- qt5.make()
+ qt5.make("docs")
def install():
- qt5.install("INSTALL_ROOT=%s" % get.installDIR())
+ qt5.install("INSTALL_ROOT=%s install_docs" % get.installDIR())
#I hope qtchooser will manage this issue
for bin in shelltools.ls("%s/usr/lib/qt5/bin" % get.installDIR()):
diff --git a/desktop/toolkit/qt5/qt5-websockets/pspec.xml b/desktop/toolkit/qt5/qt5-websockets/pspec.xml
index 2599d707bc..7e3d3cf062 100644
--- a/desktop/toolkit/qt5/qt5-websockets/pspec.xml
+++ b/desktop/toolkit/qt5/qt5-websockets/pspec.xml
@@ -43,6 +43,16 @@
qt5-base-devel
+
+
+ qt5-websockets-docs
+
+ /usr/share/doc/qt5
+
+
+ qt5-base
+
+