qt5doc: Add package with qt quick demos
PATCH 1/1 qt5doc: Add package with qt quick demos
From: Goran Ra?enovi? <[email protected]>
Since qt 5.12, quick demos are moved in the qt5doc package. In order to use quick demos, qt5doc has to be built. qt5doc is a bit misleading name for the package, while it's basic content are the quick demos. qdoc tool itself is a part of qt5tools.
--- package/qt5/Config.in | 1 + package/qt5/qt5doc/Config.in | 13 +++++++++++++ package/qt5/qt5doc/qt5doc.hash | 2 ++ package/qt5/qt5doc/qt5doc.mk | 28 ++++++++++++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 package/qt5/qt5doc/Config.in create mode 100644 package/qt5/qt5doc/qt5doc.hash create mode 100644 package/qt5/qt5doc/qt5doc.mk
package/qt5/Config.in +1 -0
@@ -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"
package/qt5/qt5doc/Config.in new file +13 -0
@@ -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. +
package/qt5/qt5doc/qt5doc.hash new file +2 -0
@@ -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
package/qt5/qt5doc/qt5doc.mk new file +28 -0
@@ -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))
Signature · 1 line
2.17.1
PATCH 1/1 qt5doc: Add package with qt quick demos
Hi Goran, all,
maybe this should be called qt5demos, since that seems to be more what it actually is. Maybe this would raise more interest among other developers as well.
I wonder what others think..
regards,
Andreas
Arnout Vandecappelle
AppliedQuoted 9 lines · On 17/02/2021 17:09, [email protected] wrote:
From: Goran Rađenović <[email protected]>
Since qt 5.12, quick demos are moved in the qt5doc package. In order to use quick demos, qt5doc has to be built. qt5doc is a bit misleading name for the package, while it's basic content are the quick demos. qdoc tool itself is a part of qt5tools.
Signed-off-by Goran Rađenović <[email protected]>
Applied to master (finally!), thanks.
I didn't change the name after all - we generally prefer the name to
correspond to the upstream one, and the fact that it's demos and examples is clearly indicated in the between parenthesis part of the menu prompt.
I did need to make a number of other changes however:
- fix check-package warnings;
- update to Jan 31 2022 version of kde/5.15 branch;
- add select of BR2_PACKAGE_QT5BASE_EXAMPLES;
- add hash for license file.
Regards,
Arnout
Quoted 73 lines
--- package/qt5/Config.in | 1 + package/qt5/qt5doc/Config.in | 13 +++++++++++++ package/qt5/qt5doc/qt5doc.hash | 2 ++ package/qt5/qt5doc/qt5doc.mk | 28 ++++++++++++++++++++++++++++ 4 files changed, 44 insertions(+)create mode 100644 package/qt5/qt5doc/Config.in create mode 100644 package/qt5/qt5doc/qt5doc.hash create mode 100644
package/qt5/qt5doc/qt5doc.mkpackage/qt5/Config.in +1
-0@@ -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"package/qt5/qt5doc/Config.in new file +13
-0@@ -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. +package/qt5/qt5doc/qt5doc.hash new file +2
-0@@ -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.xzpackage/qt5/qt5doc/qt5doc.mk new file +18
-0@@ -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
package/qt5/qt5doc/qt5doc.mk line 28
Quoted 10 lines
package/qt5/qt5doc/qt5doc.mk new file +10
-0+endif + +ifeq ($(BR2_PACKAGE_QT5XMLPATTERNS),y) +QT5DOC_DEPENDENCIES += qt5xmlpatterns +endif + +QT5DOC_LICENSE = GFDL-1.3 +QT5DOC_LICENSE_FILES = LICENSE.FDL + +$(eval $(qmake-package))
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot