Skip to contentSkip to conversation

qt5 libQt5OpenGL.so library installation

PATCH New Wojciech Slenska 4 participants 5 messages May 15, 2013 – May 30, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5 libQt5OpenGL.so library installation

When qt5 is build with EGLFS support, libQt5OpenGL library should be copied to target.

---
 package/qt5/qt5base/qt5base.mk | 1 +
 1 file changed, 1 insertion(+)
package/qt5/qt5base/qt5base.mk +1 -0
index bfc6c91..7c6a093 100644
@@ -118,6 +118,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_GUI)          += Qt5Gui
 QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_WIDGETS)      += Qt5Widgets
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 qt5 libQt5OpenGL.so library installation

Quoted 12 lines · Wojciech Slenska

When qt5 is build with EGLFS support, libQt5OpenGL library should be copied to target.

---
  package/qt5/qt5base/qt5base.mk | 1 +
  1 file changed, 1 insertion(+)
package/qt5/qt5base/qt5base.mk +0 -0
index bfc6c91..7c6a093 100644

package/qt5/qt5base/qt5base.mk QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_CONCURRENT) += Qt5Concurrent · line 121

Quoted 4 lines
package/qt5/qt5base/qt5base.mk +1 -0
@@ -118,6 +118,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

eglfs works fine for me without this library...

Regards,
Arnout

Quoted 4 lines
package/qt5/qt5base/qt5base.mk +0 -0
  QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_GUI)          += Qt5Gui
  QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_WIDGETS)      += Qt5Widgets
 
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#2 lore raw

PATCH 1/1 qt5 libQt5OpenGL.so library installation

2013/5/16 Arnout Vandecappelle <[email protected]>:

Quoted 35 lines · Wojciech Slenska
Quoted 15 lines

When qt5 is build with EGLFS support, libQt5OpenGL library should be copied to target.

---
  package/qt5/qt5base/qt5base.mk | 1 +
  1 file changed, 1 insertion(+)
package/qt5/qt5base/qt5base.mk +0 -0
index bfc6c91..7c6a093 100644

package/qt5/qt5base/qt5base.mk QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_CONCURRENT) · line 122

Quoted 5 lines
package/qt5/qt5base/qt5base.mk +2 -0
@@ -118,6 +118,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

eglfs works fine for me without this library...

Regards,
Arnout

package/qt5/qt5base/qt5base.mk QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_CONCURRENT) += Qt5Concurrent · line 124

Quoted 4 lines
package/qt5/qt5base/qt5base.mk +0 -0
  QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_GUI)          += Qt5Gui
  QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_WIDGETS)      += Qt5Widgets
Quoted 7 lines

--

Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

Hello Arnout,

EGLFS is working without library, but not all QT applications will be work. There will be problems with opengl apps (for example examples/opengl/hellogl_es2/) and for some QML apps.

Current behavior is little bit inconsistent because when eglfs is selected, qt5 is build with flag -opengl, but library are never installed on target. Please check line 87 in qtbase.mk file ifeq ($(BR2_PACKAGE_QT5BASE_EGLFS),y) QT5BASE_CONFIGURE_OPTS += -opengl es2 -eglfs

BR
Wojtek

#3 lore raw

PATCH 1/1 qt5 libQt5OpenGL.so library installation

Dear Wojciech Sle?ska,

Quoted 9 lines · Wojciech Sle?ska

EGLFS is working without library, but not all QT applications will be work. There will be problems with opengl apps (for example examples/opengl/hellogl_es2/) and for some QML apps.

Current behavior is little bit inconsistent because when eglfs is selected, qt5 is build with flag -opengl, but library are never installed on target. Please check line 87 in qtbase.mk file ifeq ($(BR2_PACKAGE_QT5BASE_EGLFS),y) QT5BASE_CONFIGURE_OPTS += -opengl es2 -eglfs

Ok, this seems to make sense to me.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#4 lore raw

PATCH 1/1 qt5 libQt5OpenGL.so library installation

In reply to Wojciech Slenska
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Wojciech" == Wojciech Slenska <[email protected]> writes:

Wojciech> When qt5 is build with EGLFS support, libQt5OpenGL library Wojciech> should be copied to target.

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard