Skip to contentSkip to conversation

qt5base: use libinput if selected

PATCH New Wolfgang Grandegger 2 participants 2 messages Jan 18, 2017 – Jan 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5base: use libinput if selected

---
 package/qt5/qt5base/qt5base.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/qt5/qt5base/qt5base.mk +5 -0
index 23dba2a..9049456 100644
@@ -27,6 +27,11 @@ QT5BASE_CONFIGURE_OPTS += \
 	-no-pch \
 	-shared
 
+ifeq ($(BR2_PACKAGE_LIBINPUT),y)
+QT5BASE_CONFIGURE_OPTS += -libinput
+QT5BASE_DEPENDENCIES += libinput
+endif
+
 # Uses libgbm from mesa3d
 ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
 QT5BASE_CONFIGURE_OPTS += -kms -gbm
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 qt5base: use libinput if selected

Hello,

Quoted 4 lines · Wolfgang Grandegger
---
 package/qt5/qt5base/qt5base.mk | 5 +++++
 1 file changed, 5 insertions(+)

Thanks! I've applied to master, after doing the following changes:

[Thomas:
- move condition to a different place in the .mk file, with other similar conditions.
- add an 'else' clause to pass -no-libinput in order to explicitly disable libinput support when the libinput package is not available.]

Thanks!

Thomas

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