Skip to contentSkip to conversation

qt5: dependency fixes

PATCH New Fatih Aşıcı 2 participants 13 messages Jul 19, 2014 – Jul 21, 2014

lore
Share & tools
lore
#0 lore raw

cover qt5: dependency fixes

This series fixes some dependency problems, adds a choice to select OpenGL API and makes building of quick module optional. It should now be possible to build Qt5 with desktop opengl.

Fatih A??c? (6):
qt5multimedia: make qt5declarative dependency optional
qt5base: allow selection of OpenGL API
qt5declarative: add an option for quick module
qt5: install qmls if quick module is selected
qt5graphicaleffects: depend on quick module
qt5quickcontrols: depend on quick module

 package/qt5/Config.in                          |  5 +++
 package/qt5/qt5base/Config.in                  | 46 ++++++++++++++++++++++++--
 package/qt5/qt5base/qt5base.mk                 | 18 +++++++---
 package/qt5/qt5connectivity/qt5connectivity.mk |  2 +-
 package/qt5/qt5declarative/Config.in           | 17 ++++++----
 package/qt5/qt5declarative/qt5declarative.mk   | 12 +++++--
 package/qt5/qt5enginio/qt5enginio.mk           |  2 +-
 package/qt5/qt5graphicaleffects/Config.in      | 11 +++---
 package/qt5/qt5multimedia/Config.in            | 10 ++----
 package/qt5/qt5multimedia/qt5multimedia.mk     |  6 +++-
 package/qt5/qt5quickcontrols/Config.in         | 12 +++----
 package/qt5/qt5sensors/qt5sensors.mk           |  2 +-
 package/qt5/qt5webkit/qt5webkit.mk             |  2 +-
 package/qt5/qt5websockets/qt5websockets.mk     |  2 +-
 14 files changed, 105 insertions(+), 42 deletions(-)
Signature · 1 line
2.0.1
#1 lore raw

PATCH 1/6 qt5multimedia: make qt5declarative dependency optional

Also add missing dependencies on gui and network modules.

---
 package/qt5/qt5multimedia/Config.in        | 10 ++--------
 package/qt5/qt5multimedia/qt5multimedia.mk |  6 +++++-
 2 files changed, 7 insertions(+), 9 deletions(-)
package/qt5/qt5multimedia/Config.in +2 -8
index c00491c..36128eb 100644
@@ -1,10 +1,8 @@
 config BR2_PACKAGE_QT5MULTIMEDIA
 	bool "qt5multimedia"
 	select BR2_PACKAGE_QT5BASE
-	select BR2_PACKAGE_QT5DECLARATIVE
-	depends on BR2_PACKAGE_HAS_LIBEGL
-	depends on BR2_PACKAGE_HAS_LIBGLES
-	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
+	select BR2_PACKAGE_QT5BASE_GUI
+	select BR2_PACKAGE_QT5BASE_NETWORK
 	help
 	  Qt is a cross-platform application and UI framework for
 	  developers using C++.
@@ -12,7 +10,3 @@ config BR2_PACKAGE_QT5MULTIMEDIA
 	  This package corresponds to the qt5multimedia module.
 
 	  http://qt-project.org
-
-comment "qt5multimedia requires an OpenGL-capable backend"
-	depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
-		BR2_PACKAGE_QT5_JSCORE_AVAILABLE
package/qt5/qt5multimedia/qt5multimedia.mk +5 -1
index 5eef543..e89e31c 100644
@@ -7,7 +7,7 @@
 QT5MULTIMEDIA_VERSION = $(QT5_VERSION)
 QT5MULTIMEDIA_SITE = $(QT5_SITE)
 QT5MULTIMEDIA_SOURCE = qtmultimedia-opensource-src-$(QT5MULTIMEDIA_VERSION).tar.xz
-QT5MULTIMEDIA_DEPENDENCIES = qt5base qt5declarative
+QT5MULTIMEDIA_DEPENDENCIES = qt5base
 QT5MULTIMEDIA_INSTALL_STAGING = YES
 
 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
@@ -22,6 +22,10 @@ ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
 QT5MULTIMEDIA_DEPENDENCIES += gst-plugins-base
 endif
 
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
+QT5MULTIMEDIA_DEPENDENCIES += qt5declarative
+endif
+
 define QT5MULTIMEDIA_CONFIGURE_CMDS
 	(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
 endef
Signature · 1 line
2.0.1
#2 lore raw

PATCH 1/6 qt5multimedia: make qt5declarative dependency optional

Dear Fatih A??c?,

Quoted 7 lines · Fatih A??c?

Also add missing dependencies on gui and network modules.

---
 package/qt5/qt5multimedia/Config.in        | 10 ++--------
 package/qt5/qt5multimedia/qt5multimedia.mk |  6 +++++-
 2 files changed, 7 insertions(+), 9 deletions(-)

Applied, thanks. However, please do not send your patches to both buildroot at uclibc.org and buildroot at buildroot.org: they are the same mailing list, so your patches appear twice on the list.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/6 qt5multimedia: make qt5declarative dependency optional

Quoted 8 lines · On Sunday 20 July 2014 12:02:34 Thomas Petazzoni wrote:

Dear Fatih A??c?,

Quoted 5 lines · Fatih A??c?

Also add missing dependencies on gui and network modules.

---

Quoted 7 lines
Quoted 3 lines
 package/qt5/qt5multimedia/Config.in        | 10 ++--------
 package/qt5/qt5multimedia/qt5multimedia.mk |  6 +++++-
 2 files changed, 7 insertions(+), 9 deletions(-)

Applied, thanks. However, please do not send your patches to both buildroot at uclibc.org and buildroot at buildroot.org: they are the same mailing list, so your patches appear twice on the list.

Sorry. I passed one mail address from the command line; but I have realized that .git/config file also has another address. I had added the latter for convenience but forgot it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140720/97856241/attachment.html>

#4 lore raw

PATCH 2/6 qt5base: allow selection of OpenGL API

In reply to Fatih Aşıcı
---
 package/qt5/Config.in          |  5 +++++
 package/qt5/qt5base/Config.in  | 46 +++++++++++++++++++++++++++++++++++++++---
 package/qt5/qt5base/qt5base.mk | 18 +++++++++++++----
 3 files changed, 62 insertions(+), 7 deletions(-)
package/qt5/Config.in +5 -0
index 1f6920a..83f02f1 100644
@@ -1,3 +1,8 @@
+config BR2_PACKAGE_QT5_GL_AVAILABLE
+	bool
+	depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
+	default y
+
 config BR2_PACKAGE_QT5_JSCORE_AVAILABLE
 	bool
 	# Javascript engine is only available on certain architectures
package/qt5/qt5base/Config.in +43 -3

60 lines not on this page · raw message

package/qt5/qt5base/qt5base.mk +14 -4
index fecde13..712208f 100644
@@ -96,12 +96,22 @@ else
 QT5BASE_CONFIGURE_OPTS += -no-xcb
 endif
 
+ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP),y)
+QT5BASE_CONFIGURE_OPTS += -opengl desktop
+QT5BASE_DEPENDENCIES   += libgl
+else ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_ES2),y)
+QT5BASE_CONFIGURE_OPTS += -opengl es2
+QT5BASE_DEPENDENCIES   += libgles
+else
+QT5BASE_CONFIGURE_OPTS += -no-opengl
+endif
+
 QT5BASE_DEFAULT_QPA = $(call qstrip,$(BR2_PACKAGE_QT5BASE_DEFAULT_QPA))
 QT5BASE_CONFIGURE_OPTS += $(if $(QT5BASE_DEFAULT_QPA),-qpa $(QT5BASE_DEFAULT_QPA))
 
 ifeq ($(BR2_PACKAGE_QT5BASE_EGLFS),y)
-QT5BASE_CONFIGURE_OPTS += -opengl es2 -eglfs
-QT5BASE_DEPENDENCIES   += libgles libegl
+QT5BASE_CONFIGURE_OPTS += -eglfs
+QT5BASE_DEPENDENCIES   += libegl
 ifeq ($(BR2_PACKAGE_GPU_VIV_BIN_MX6Q),y)
 QT5BASE_EGLFS_PLATFORM_HOOKS_SOURCES = \
 	$(@D)/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp
@@ -111,7 +121,7 @@ QT5BASE_EGLFS_PLATFORM_HOOKS_SOURCES = \
 	$(@D)/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp
 endif
 else
-QT5BASE_CONFIGURE_OPTS += -no-opengl -no-eglfs
+QT5BASE_CONFIGURE_OPTS += -no-eglfs
 endif
 
 QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_OPENSSL),-openssl,-no-openssl)
@@ -146,7 +156,7 @@ QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_CONCURRENT) += Qt5Concurrent
 QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_SQL)        += Qt5Sql
 QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_TEST)       += Qt5Test
 QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_XML)        += Qt5Xml
-QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_EGLFS)      += Qt5OpenGL
+QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_OPENGL_LIB) += Qt5OpenGL
 
 QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_GUI)          += Qt5Gui
 QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_WIDGETS)      += Qt5Widgets
Signature · 1 line
2.0.1
#5 lore raw

PATCH 2/6 qt5base: allow selection of OpenGL API

Dear Fatih A??c?,

Quoted 6 lines · Fatih A??c?
---
 package/qt5/Config.in          |  5 +++++
 package/qt5/qt5base/Config.in  | 46 +++++++++++++++++++++++++++++++++++++++---
 package/qt5/qt5base/qt5base.mk | 18 +++++++++++++----
 3 files changed, 62 insertions(+), 7 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#6 lore raw

PATCH 3/6 qt5declarative: add an option for quick module

In reply to Fatih Aşıcı

With this change, qt5declarative can be built without OpenGL.

---
 package/qt5/qt5declarative/Config.in         | 17 +++++++++++------
 package/qt5/qt5declarative/qt5declarative.mk | 12 ++++++++++--
 2 files changed, 21 insertions(+), 8 deletions(-)
package/qt5/qt5declarative/Config.in +11 -6
index 4a6e805..edac8cd 100644
@@ -3,9 +3,6 @@ config BR2_PACKAGE_QT5DECLARATIVE
 	select BR2_PACKAGE_QT5XMLPATTERNS
 	select BR2_PACKAGE_QT5BASE
 	select BR2_PACKAGE_QT5BASE_GUI
-	select BR2_PACKAGE_QT5BASE_EGLFS
-	depends on BR2_PACKAGE_HAS_LIBEGL
-	depends on BR2_PACKAGE_HAS_LIBGLES
 	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
 	help
 	  Qt is a cross-platform application and UI framework for
@@ -15,6 +12,14 @@ config BR2_PACKAGE_QT5DECLARATIVE
 
 	  http://qt-project.org
 
-comment "qt5declarative requires an OpenGL-capable backend"
-	depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
-		BR2_PACKAGE_QT5_JSCORE_AVAILABLE
+if BR2_PACKAGE_QT5DECLARATIVE
+
+comment "quick module needs an OpenGL-capable backend"
+	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
+
+config BR2_PACKAGE_QT5DECLARATIVE_QUICK
+	bool "quick module"
+	select BR2_PACKAGE_QT5BASE_OPENGL
+	depends on BR2_PACKAGE_QT5_GL_AVAILABLE
+
+endif
package/qt5/qt5declarative/qt5declarative.mk +10 -2
index 472d092..34dd14a 100644
@@ -35,12 +35,20 @@ define QT5DECLARATIVE_INSTALL_STAGING_CMDS
 endef
 
 ifeq ($(BR2_PREFER_STATIC_LIB),)
-define QT5DECLARATIVE_INSTALL_TARGET_LIBS
-	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Qml*.so.* $(TARGET_DIR)/usr/lib
+
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
+define QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS
 	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Quick*.so.* $(TARGET_DIR)/usr/lib
 	cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/accessible $(TARGET_DIR)/usr/lib/qt/plugins
+endef
+endif
+
+define QT5DECLARATIVE_INSTALL_TARGET_LIBS
+	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Qml*.so.* $(TARGET_DIR)/usr/lib
 	cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/qml* $(TARGET_DIR)/usr/lib/qt/plugins
+	$(QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS)
 endef
+
 endif
 
 define QT5DECLARATIVE_INSTALL_TARGET_CMDS
Signature · 1 line
2.0.1
#7 lore raw

PATCH 3/6 qt5declarative: add an option for quick module

Dear Fatih A??c?,

Quoted 13 lines · Fatih A??c?
package/qt5/qt5declarative/qt5declarative.mk +3 -2
index 472d092..34dd14a 100644
@@ -35,12 +35,20 @@ define QT5DECLARATIVE_INSTALL_STAGING_CMDS
 endef
 
 ifeq ($(BR2_PREFER_STATIC_LIB),)
-define QT5DECLARATIVE_INSTALL_TARGET_LIBS
-	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Qml*.so.* $(TARGET_DIR)/usr/lib
+
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
+define QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS

package/qt5/qt5declarative/qt5declarative.mk define QT5DECLARATIVE_INSTALL_STAGING_CMDS · line 50

Quoted 10 lines
package/qt5/qt5declarative/qt5declarative.mk +6 -0
 	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Quick*.so.* $(TARGET_DIR)/usr/lib
 	cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/accessible $(TARGET_DIR)/usr/lib/qt/plugins
+endef
+endif
+
+define QT5DECLARATIVE_INSTALL_TARGET_LIBS
+	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Qml*.so.* $(TARGET_DIR)/usr/lib
 	cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/qml* $(TARGET_DIR)/usr/lib/qt/plugins
+	$(QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS)
 endef

I am still unsure to understand what's the difference between qt5declarative and qt5quick exactly. But here, you're installing libQt5Qml and the qml plugins as soon as the qt5declarative package is enabled, even if the quick module is disabled.

But then, in PATCH 4/6, you only install QML files if the quick module is enabled. So I'm a bit confused as to what is needed to actually use qml files.

Could you explain a bit more the interaction/difference between qt5declarative and the quick module?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#8 lore raw

PATCH 3/6 qt5declarative: add an option for quick module

Quoted 40 lines · On Sunday 20 July 2014 12:04:31 Thomas Petazzoni wrote:

Dear Fatih A??c?,

Quoted 21 lines · Fatih A??c?
(quoted diff) +0 -0

b/package/qt5/qt5declarative/qt5declarative.mk index 472d092..34dd14a 100644

package/qt5/qt5declarative/qt5declarative.mk +4 -2
@@ -35,12 +35,20 @@ define QT5DECLARATIVE_INSTALL_STAGING_CMDS
 
 endef
 
 ifeq ($(BR2_PREFER_STATIC_LIB),)
 
-define QT5DECLARATIVE_INSTALL_TARGET_LIBS
-	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Qml*.so.* $(TARGET_DIR)/usr/lib
+
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
+define QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS
 
 	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Quick*.so.* $(TARGET_DIR)/usr/lib
 	cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/accessible
 	$(TARGET_DIR)/usr/lib/qt/plugins> 
+endef

package/qt5/qt5declarative/qt5declarative.mk define QT5DECLARATIVE_INSTALL_STAGING_CMDS

Quoted 10 lines
package/qt5/qt5declarative/qt5declarative.mk +5 -0
+endif
+
+define QT5DECLARATIVE_INSTALL_TARGET_LIBS
+	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Qml*.so.* $(TARGET_DIR)/usr/lib
 
 	cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/qml*
 	$(TARGET_DIR)/usr/lib/qt/plugins> 
+	$(QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS)
 
 endef

I am still unsure to understand what's the difference between qt5declarative and qt5quick exactly. But here, you're installing libQt5Qml and the qml plugins as soon as the qt5declarative package is enabled, even if the quick module is disabled.

Quoted 6 lines

But then, in PATCH 4/6, you only install QML files if the quick module is enabled. So I'm a bit confused as to what is needed to actually use qml files.

Could you explain a bit more the interaction/difference between qt5declarative and the quick module?

qt5quick1 includes the old libs, interpreter, modules, etc. It is probably provided to ease porting from Qt 4.x. So it has no dependency on qt5declarative.

QML is the name of the language. Quick is the name of QML module kit that is used to create user interfaces. qt5declarative contains both the interpreter and Quick module kit. It seems possible to use QML without Quick.

QML files in the other qt5* modules depend on Quick modules. Those are not built when quick is disabled.

Regards,
Fatih

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140720/3a111504/attachment.html>

#9 lore raw

PATCH 4/6 qt5: install qmls if quick module is selected

In reply to Fatih Aşıcı
---
 package/qt5/qt5connectivity/qt5connectivity.mk | 2 +-
 package/qt5/qt5enginio/qt5enginio.mk           | 2 +-
 package/qt5/qt5sensors/qt5sensors.mk           | 2 +-
 package/qt5/qt5webkit/qt5webkit.mk             | 2 +-
 package/qt5/qt5websockets/qt5websockets.mk     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
package/qt5/qt5connectivity/qt5connectivity.mk +1 -1
index 214d536..e601270 100644
@@ -35,7 +35,7 @@ define QT5CONNECTIVITY_INSTALL_STAGING_CMDS
 	$(QT5_LA_PRL_FILES_FIXUP)
 endef
 
-ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
 define QT5CONNECTIVITY_INSTALL_TARGET_QMLS
 	cp -dpfr $(STAGING_DIR)/usr/qml/QtBluetooth $(TARGET_DIR)/usr/qml/
 endef
package/qt5/qt5enginio/qt5enginio.mk +1 -1
index 8e4d50d..c33a405 100644
@@ -35,7 +35,7 @@ define QT5ENGINIO_INSTALL_STAGING_CMDS
 	$(QT5_LA_PRL_FILES_FIXUP)
 endef
 
-ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
 define QT5ENGINIO_INSTALL_TARGET_QMLS
 	cp -dpfr $(STAGING_DIR)/usr/qml/Enginio $(TARGET_DIR)/usr/qml/
 endef
package/qt5/qt5sensors/qt5sensors.mk +1 -1
index 1b03293..4cc0c99 100644
@@ -42,7 +42,7 @@ define QT5SENSORS_INSTALL_TARGET_LIBS
 endef
 endif
 
-ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
 define QT5SENSORS_INSTALL_TARGET_QMLS
 	cp -dpfr $(STAGING_DIR)/usr/qml/QtSensors $(TARGET_DIR)/usr/qml
 endef
package/qt5/qt5webkit/qt5webkit.mk +1 -1
index 08c30be..c103a9c 100644
@@ -39,7 +39,7 @@ define QT5WEBKIT_INSTALL_STAGING_CMDS
 	$(QT5_LA_PRL_FILES_FIXUP)
 endef
 
-ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
 define QT5WEBKIT_INSTALL_TARGET_QMLS
 	cp -dpfr $(STAGING_DIR)/usr/qml/QtWebKit $(TARGET_DIR)/usr/qml/
 endef
package/qt5/qt5websockets/qt5websockets.mk +1 -1
index 5bfa1ed..7776414 100644
@@ -35,7 +35,7 @@ define QT5WEBSOCKETS_INSTALL_STAGING_CMDS
 	$(QT5_LA_PRL_FILES_FIXUP)
 endef
 
-ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
 define QT5WEBSOCKETS_INSTALL_TARGET_QMLS
 	cp -dpfr $(STAGING_DIR)/usr/qml/Qt/WebSockets $(TARGET_DIR)/usr/qml/Qt/
 endef
Signature · 1 line
2.0.1
#10 lore raw

PATCH 5/6 qt5graphicaleffects: depend on quick module

In reply to Fatih Aşıcı

Also remove redundant dependencies.

---
 package/qt5/qt5graphicaleffects/Config.in | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
package/qt5/qt5graphicaleffects/Config.in +5 -6
index 2747af8..0a83638 100644
@@ -1,10 +1,9 @@
 config BR2_PACKAGE_QT5GRAPHICALEFFECTS
 	bool "qt5graphicaleffects"
-	select BR2_PACKAGE_QT5BASE
 	select BR2_PACKAGE_QT5DECLARATIVE
+	select BR2_PACKAGE_QT5DECLARATIVE_QUICK
+	depends on BR2_PACKAGE_QT5_GL_AVAILABLE
 	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
-	depends on BR2_PACKAGE_HAS_LIBEGL
-	depends on BR2_PACKAGE_HAS_LIBGLES
 	help
 	  Qt is a cross-platform application and UI framework for
 	  developers using C++.
@@ -13,6 +12,6 @@ config BR2_PACKAGE_QT5GRAPHICALEFFECTS
 
 	  http://qt-project.org
 
-comment "qt5graphicaleffects requires an OpenGL-capable backend"
-	depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
-		BR2_PACKAGE_QT5_JSCORE_AVAILABLE
+comment "qt5graphicaleffects needs an OpenGL-capable backend"
+	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
+	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
Signature · 1 line
2.0.1
#11 lore raw

PATCH 6/6 qt5quickcontrols: depend on quick module

In reply to Fatih Aşıcı

Also remove redundant dependencies.

---
 package/qt5/qt5quickcontrols/Config.in | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
package/qt5/qt5quickcontrols/Config.in +5 -7
index c350a74..aae3d89 100644
@@ -1,11 +1,9 @@
 config BR2_PACKAGE_QT5QUICKCONTROLS
 	bool "qt5quickcontrols"
-	select BR2_PACKAGE_QT5BASE
-	select BR2_PACKAGE_QT5BASE_NETWORK
 	select BR2_PACKAGE_QT5DECLARATIVE
+	select BR2_PACKAGE_QT5DECLARATIVE_QUICK
+	depends on BR2_PACKAGE_QT5_GL_AVAILABLE
 	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
-	depends on BR2_PACKAGE_HAS_LIBEGL
-	depends on BR2_PACKAGE_HAS_LIBGLES
 	help
 	  Qt is a cross-platform application and UI framework for
 	  developers using C++.
@@ -14,6 +12,6 @@ config BR2_PACKAGE_QT5QUICKCONTROLS
 
 	  http://qt-project.org
 
-comment "qt5quickcontrols requires an OpenGL-capable backend"
-	depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
-		BR2_PACKAGE_QT5_JSCORE_AVAILABLE
+comment "qt5quickcontrols needs an OpenGL-capable backend"
+	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
+	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
Signature · 1 line
2.0.1
#12 lore raw

cover qt5: dependency fixes

In reply to Fatih Aşıcı

Dear Fatih A??c?,

Quoted 4 lines · Fatih A??c?

qt5declarative: add an option for quick module
qt5: install qmls if quick module is selected
qt5graphicaleffects: depend on quick module
qt5quickcontrols: depend on quick module

Thanks, I've now applied those patches, therefore the series is fully applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com