diff --git a/desktop/toolkit/qt5/qt5-imageformats/actions.py b/desktop/toolkit/qt5/qt5-imageformats/actions.py
index 0e4e8a6537..1f2a862f83 100644
--- a/desktop/toolkit/qt5/qt5-imageformats/actions.py
+++ b/desktop/toolkit/qt5/qt5-imageformats/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-imageformats/pspec.xml b/desktop/toolkit/qt5/qt5-imageformats/pspec.xml
index 4709c24d76..82c7506ece 100644
--- a/desktop/toolkit/qt5/qt5-imageformats/pspec.xml
+++ b/desktop/toolkit/qt5/qt5-imageformats/pspec.xml
@@ -39,6 +39,16 @@
/usr/share/licenses
+
+
+ qt5-imageformats-docs
+
+ qt5-base
+
+
+ /usr/share/doc/qt5
+
+