All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] qt5wayland: compositor depends on qt5base opengl
@ 2018-02-13 16:47 Joshua Henderson
  2018-10-21 23:16 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Henderson @ 2018-02-13 16:47 UTC (permalink / raw)
  To: buildroot

When building Qt 5.6.3, the qt5wayland compositor depends on Qt OpenGL support.
The compositor API is marked experimental prior to Qt 5.8.  In the latest
version of Qt this dependendency on opengl is removed.

This also removes the qt5wayland dependency on GL support, because this is tied
to the compositor API through the BR2_PACKAGE_QT5BASE_OPENGL dependency.

Fixes:
      http://autobuild.buildroot.net/results/289d9b73d99e29d61c2df9ce228fed3968d89f5c

Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>

---

v2:
- Due to the compositor API being experimental in Qt 5.6.3, it does not make
  sense to address this dependency on OpenGL upstream in this version of Qt.
- Remove explicit dependency on GL support.
- Note that the compositor API is marked as stable starting with Qt 5.8 in help.
- Update commit message.
---
 package/qt5/qt5wayland/Config.in | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/package/qt5/qt5wayland/Config.in b/package/qt5/qt5wayland/Config.in
index 0182d3c..29755cf 100644
--- a/package/qt5/qt5wayland/Config.in
+++ b/package/qt5/qt5wayland/Config.in
@@ -1,10 +1,5 @@
-comment "qt5wayland needs an OpenGL-capable backend"
-	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
-	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
-
 config BR2_PACKAGE_QT5WAYLAND
 	bool "qt5wayland"
-	depends on BR2_PACKAGE_QT5_GL_AVAILABLE
 	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
 	select BR2_PACKAGE_QT5DECLARATIVE
 	select BR2_PACKAGE_WAYLAND
@@ -18,10 +13,13 @@ config BR2_PACKAGE_QT5WAYLAND
 
 if BR2_PACKAGE_QT5WAYLAND
 
+comment "qt5wayland compositor needs Qt OpenGL support"
+	depends on !BR2_PACKAGE_QT5BASE_OPENGL && !BR2_PACKAGE_QT5_VERSION_LATEST
+
 config BR2_PACKAGE_QT5WAYLAND_COMPOSITOR
 	bool "Enable compositor (experimental)"
+	depends on BR2_PACKAGE_QT5BASE_OPENGL || BR2_PACKAGE_QT5_VERSION_LATEST
 	help
-	  The compositor API is still experimental, and not built by
-	  default.
+	  The compositor API is stable as of Qt 5.8.
 
 endif
-- 
2.7.4

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

* [Buildroot] [PATCH v2] qt5wayland: compositor depends on qt5base opengl
  2018-02-13 16:47 [Buildroot] [PATCH v2] qt5wayland: compositor depends on qt5base opengl Joshua Henderson
@ 2018-10-21 23:16 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2018-10-21 23:16 UTC (permalink / raw)
  To: buildroot


On 13/02/2018 16:47, Joshua Henderson wrote:
> When building Qt 5.6.3, the qt5wayland compositor depends on Qt OpenGL support.
> The compositor API is marked experimental prior to Qt 5.8.  In the latest
> version of Qt this dependendency on opengl is removed.
>
> This also removes the qt5wayland dependency on GL support, because this is tied
> to the compositor API through the BR2_PACKAGE_QT5BASE_OPENGL dependency.
>
> Fixes:
>       http://autobuild.buildroot.net/results/289d9b73d99e29d61c2df9ce228fed3968d89f5c
>
> Cc: Peter Seiderer <ps.report@gmx.net>
> Cc: Julien Corjon <corjon.j@ecagroup.com>
> Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
>
> ---
>
> v2:
> - Due to the compositor API being experimental in Qt 5.6.3, it does not make
>   sense to address this dependency on OpenGL upstream in this version of Qt.
> - Remove explicit dependency on GL support.
> - Note that the compositor API is marked as stable starting with Qt 5.8 in help.
> - Update commit message.
> ---
>  package/qt5/qt5wayland/Config.in | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff --git a/package/qt5/qt5wayland/Config.in b/package/qt5/qt5wayland/Config.in
> index 0182d3c..29755cf 100644
> --- a/package/qt5/qt5wayland/Config.in
> +++ b/package/qt5/qt5wayland/Config.in
> @@ -1,10 +1,5 @@
> -comment "qt5wayland needs an OpenGL-capable backend"
> -	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
> -	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
> -
>  config BR2_PACKAGE_QT5WAYLAND
>  	bool "qt5wayland"
> -	depends on BR2_PACKAGE_QT5_GL_AVAILABLE
>  	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
>  	select BR2_PACKAGE_QT5DECLARATIVE
>  	select BR2_PACKAGE_WAYLAND
> @@ -18,10 +13,13 @@ config BR2_PACKAGE_QT5WAYLAND
>  
>  if BR2_PACKAGE_QT5WAYLAND
>  
> +comment "qt5wayland compositor needs Qt OpenGL support"
> +	depends on !BR2_PACKAGE_QT5BASE_OPENGL && !BR2_PACKAGE_QT5_VERSION_LATEST
> +
>  config BR2_PACKAGE_QT5WAYLAND_COMPOSITOR
>  	bool "Enable compositor (experimental)"

?Since it is no longer experimental in 5.11, and we assume most people will be
using the latest version, we can remove the (experimental) bit.


> +	depends on BR2_PACKAGE_QT5BASE_OPENGL || BR2_PACKAGE_QT5_VERSION_LATEST

?Wouldn't it make more sense to select opengl? Like:

??? depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT5_VERSION_LATEST

??? select BR2_PACKAGE_QT5BASE_OPENGL if !BR2_PACKAGE_QT5_VERSION_LATEST


?Also, you need to keep the comment that was there originally, but now apply it
to the compositor rather than qt5wayland as a whole. And it should only be shown
for 5.6.


?Regards,
?Arnout


>  	help
> -	  The compositor API is still experimental, and not built by
> -	  default.
> +	  The compositor API is stable as of Qt 5.8.
>  
>  endif

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

end of thread, other threads:[~2018-10-21 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-13 16:47 [Buildroot] [PATCH v2] qt5wayland: compositor depends on qt5base opengl Joshua Henderson
2018-10-21 23:16 ` Arnout Vandecappelle

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.