qt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled
PATCH 1/1 qt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled
Qt5Multimedia needs Qt5OpenGL module in case OpenGL support is enabled.
Fixes bug reported by Marco Trapanese ([1]).
[1] http://lists.busybox.net/pipermail/buildroot/2016-May/161288.html
--- package/qt5/qt5multimedia/Config.in | 1 + 1 file changed, 1 insertion(+)
package/qt5/qt5multimedia/Config.in +1 -0
@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5MULTIMEDIA select BR2_PACKAGE_QT5BASE select BR2_PACKAGE_QT5BASE_GUI select BR2_PACKAGE_QT5BASE_NETWORK + select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE_OPENGL help Qt is a cross-platform application and UI framework for developers using C++.
Signature · 1 line
2.8.1
PATCH 1/1 qt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled
Hello,
package/qt5/qt5multimedia/Config.in config BR2_PACKAGE_QT5MULTIMEDIA · line 6
Quoted 9 lines · Peter Seiderer
package/qt5/qt5multimedia/Config.in +1
-0@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5MULTIMEDIA select BR2_PACKAGE_QT5BASE select BR2_PACKAGE_QT5BASE_GUI select BR2_PACKAGE_QT5BASE_NETWORK + select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE_OPENGL
Do you know why we have this BR2_PACKAGE_QT5BASE_OPENGL_LIB option, rather than just installing Qt5OpenGL as soon as BR2_PACKAGE_QT5BASE_OPENGL is true?
Whenever BR2_PACKAGE_QT5BASE_OPENGL is enabled, either BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP or BR2_PACKAGE_QT5BASE_OPENGL_ES2 are selected, since they are part of a choice. And both of them enable OpenGL support in Qt:
ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP),y)QT5BASE_CONFIGURE_OPTS += -opengl desktopQT5BASE_DEPENDENCIES += libgl
else ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_ES2),y)QT5BASE_CONFIGURE_OPTS += -opengl es2QT5BASE_DEPENDENCIES += libgles
elseQT5BASE_CONFIGURE_OPTS += -no-opengl
endif
So it seems weird to enable OpenGL support in Qt but to not install the corresponding library. Or are there use cases where OpenGL support is used, but the Qt5OpenGL library is not needed?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 qt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled
On Tue, 17 May 2016 13:45:15 +0200, Thomas Petazzoni <[email protected]> wrote:
Hello Thomas,
Quoted 33 lines
Hello,
package/qt5/qt5multimedia/Config.in config BR2_PACKAGE_QT5MULTIMEDIA · line 6
Quoted 9 lines · Peter Seiderer
package/qt5/qt5multimedia/Config.in +1
-0@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5MULTIMEDIA select BR2_PACKAGE_QT5BASE select BR2_PACKAGE_QT5BASE_GUI select BR2_PACKAGE_QT5BASE_NETWORK + select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE_OPENGLDo you know why we have this
BR2_PACKAGE_QT5BASE_OPENGL_LIBoption, rather than just installing Qt5OpenGL as soon asBR2_PACKAGE_QT5BASE_OPENGLis true?Whenever
BR2_PACKAGE_QT5BASE_OPENGLis enabled, eitherBR2_PACKAGE_QT5BASE_OPENGL_DESKTOPorBR2_PACKAGE_QT5BASE_OPENGL_ES2are selected, since they are part of a choice. And both of them enable OpenGL support in Qt:ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP),y)
QT5BASE_CONFIGURE_OPTS+= -opengl desktopQT5BASE_DEPENDENCIES+= libgl
else ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_ES2),y)QT5BASE_CONFIGURE_OPTS+= -opengl es2QT5BASE_DEPENDENCIES+= libgles
elseQT5BASE_CONFIGURE_OPTS+= -no-opengl
endif
Quoted 4 lines
So it seems weird to enable OpenGL support in Qt but to not install the corresponding library. Or are there use cases where OpenGL support is used, but the Qt5OpenGL library is not needed?
E.g. qt5declarative/quick module selects BR2_PACKAGE_QT5BASE_OPENGL without BR2_PACKAGE_QT5BASE_OPENGL_LIB (and I think it works)..., maybe all not widget based OpenGL features...
Regards,
Peter
Quoted 3 lines
Thanks!
Thomas
PATCH 1/1 qt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled
Hello,
Quoted 7 lines · Peter Seiderer
Quoted 3 lines
So it seems weird to enable OpenGL support in Qt but to not install the corresponding library. Or are there use cases where OpenGL support is used, but the Qt5OpenGL library is not needed?
E.g. qt5declarative/quick module selects
BR2_PACKAGE_QT5BASE_OPENGLwithoutBR2_PACKAGE_QT5BASE_OPENGL_LIB(and I think it works)..., maybe all not widget based OpenGL features...
OK, fair enough.
Then:
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 qt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled
In reply to Peter SeidererQuoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Seiderer <[email protected]> writes:
Qt5Multimedia needs Qt5OpenGL module in case OpenGL support is enabled.
Fixes bug reported by Marco Trapanese ([1]).
[1] http://lists.busybox.net/pipermail/buildroot/2016-May/161288.html
Signed-off-by Peter Seiderer <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard