Skip to contentSkip to conversation

qt5base: add comment for qt5webkit examples

PATCH New Gaël PORTAY 2 participants 2 messages Jul 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5base: add comment for qt5webkit examples

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.

---
 package/qt5/qt5base/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/qt5/qt5base/Config.in +4 -0
index b9aba2d389..35f990b773 100644
@@ -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
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 qt5base: add comment for qt5webkit examples

Hello Ga?l,

Quoted 17 lines · Ga?l PORTAY

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.

---
 package/qt5/qt5base/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/qt5/qt5base/Config.in +0 -0
index b9aba2d389..35f990b773 100644

package/qt5/qt5base/Config.in config BR2_PACKAGE_QT5BASE_CONFIG_FILE · line 47

Quoted 6 lines
package/qt5/qt5base/Config.in +3 -0
@@ -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

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