All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qt5base: add comment for qt5webkit examples
@ 2018-07-02 12:28 Gaël PORTAY
  2018-07-02 20:42 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Gaël PORTAY @ 2018-07-02 12:28 UTC (permalink / raw)
  To: buildroot

Unlike every other Qt5 modules, the examples of QtWebKit are located in
the dedicated package qt5webkit-examples. This is confusing.

This commit adds a comment to warn the user that QtWebKit examples are
available under a dedicated package. The comment shows up in the case
where the Qt examples is set and qt5webkit-examples is left unset.

Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
---
 package/qt5/qt5base/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in
index b9aba2d389..35f990b773 100644
--- a/package/qt5/qt5base/Config.in
+++ b/package/qt5/qt5base/Config.in
@@ -42,6 +42,10 @@ config BR2_PACKAGE_QT5BASE_CONFIG_FILE
 	  This option allows to set the path of such a configuration
 	  file, which Buildroot will give to Qt at compile time.
 
+comment "WebKit examples are available in package qt5webkit-example"
+	depends on BR2_PACKAGE_QT5BASE_EXAMPLES
+	depends on !BR2_PACKAGE_QT5WEBKIT_EXAMPLES
+
 config BR2_PACKAGE_QT5BASE_EXAMPLES
 	bool "Compile and install examples (with code)"
 	select BR2_PACKAGE_QT5BASE_NETWORK
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] qt5base: add comment for qt5webkit examples
  2018-07-02 12:28 [Buildroot] [PATCH] qt5base: add comment for qt5webkit examples Gaël PORTAY
@ 2018-07-02 20:42 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-07-02 20:42 UTC (permalink / raw)
  To: buildroot

Hello Ga?l,

On Mon,  2 Jul 2018 08:28:25 -0400, Ga?l PORTAY wrote:
> Unlike every other Qt5 modules, the examples of QtWebKit are located in
> the dedicated package qt5webkit-examples. This is confusing.
> 
> This commit adds a comment to warn the user that QtWebKit examples are
> available under a dedicated package. The comment shows up in the case
> where the Qt examples is set and qt5webkit-examples is left unset.
> 
> Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
> ---
>  package/qt5/qt5base/Config.in | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/qt5/qt5base/Config.in b/package/qt5/qt5base/Config.in
> index b9aba2d389..35f990b773 100644
> --- a/package/qt5/qt5base/Config.in
> +++ b/package/qt5/qt5base/Config.in
> @@ -42,6 +42,10 @@ config BR2_PACKAGE_QT5BASE_CONFIG_FILE
>  	  This option allows to set the path of such a configuration
>  	  file, which Buildroot will give to Qt at compile time.
>  
> +comment "WebKit examples are available in package qt5webkit-example"
> +	depends on BR2_PACKAGE_QT5BASE_EXAMPLES
> +	depends on !BR2_PACKAGE_QT5WEBKIT_EXAMPLES

We don't typically add such comments, I don't think it's really worth
having it, especially in qt5base.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-02 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-02 12:28 [Buildroot] [PATCH] qt5base: add comment for qt5webkit examples Gaël PORTAY
2018-07-02 20:42 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.