@@ -43,6 +43,7 @@ source "package/qt5/qt5charts/Config.in"
source "package/qt5/qt5coap/Config.in"
source "package/qt5/qt5connectivity/Config.in"
source "package/qt5/qt5declarative/Config.in"
+source "package/qt5/qt5doc/Config.in"
source "package/qt5/qt5enginio/Config.in"
source "package/qt5/qt5graphicaleffects/Config.in"
source "package/qt5/qt5imageformats/Config.in"
new file mode 100644
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_QT5DOC
+ bool "qt5doc (includes quick demos)"
+ select BR2_PACKAGE_QT5DECLARATIVE
+ select BR2_PACKAGE_QT5DECLARATIVE_QUICK
+ help
+ Qt is a cross-platform application and UI framework for
+ developers using C++.
+
+ Qtdoc contains the main Qt Reference Documentation, which includes
+ overviews, Qt topics, and examples not specific to any Qt module.The
+ configuration files are located in qtdoc/doc/config and the articles in
+ qtdoc/doc/src. Note that QDoc is located in qtbase.
+
new file mode 100644
@@ -0,0 +1,2 @@
+# Hash from: https://download.qt.io/official_releases/qt/5.12/5.12.7/submodules/qtdoc-everywhere-src-5.15.2.tar.xz
+sha256 a47809f00f1bd690ca4e699cb32ffe7717d43da84e0167d1f562210da7714ce4 qtdoc-everywhere-src-5.15.2.tar.xz
new file mode 100644
@@ -0,0 +1,28 @@
+################################################################################
+#
+# qt5doc
+#
+################################################################################
+
+QT5DOC_VERSION = $(QT5_VERSION)
+QT5DOC_SITE = $(QT5_SITE)
+QT5DOC_SOURCE = qtdoc-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5DOC_VERSION).tar.xz
+QT5DOC_DEPENDENCIES = qt5declarative
+QT5DOC_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_QT5QUICKCONTROLS),y)
+QT5DOC_DEPENDENCIES += qt5quickcontrols
+endif
+
+ifeq ($(BR2_PACKAGE_QT5QUICKCONTROLS2),y)
+QT5DOC_DEPENDENCIES += qt5quickcontrols2
+endif
+
+ifeq ($(BR2_PACKAGE_QT5XMLPATTERNS),y)
+QT5DOC_DEPENDENCIES += qt5xmlpatterns
+endif
+
+QT5DOC_LICENSE = GFDL-1.3
+QT5DOC_LICENSE_FILES = LICENSE.FDL
+
+$(eval $(qmake-package))