[Buildroot] [git commit] qt: scripttools needs gui

Peter Korsgaard jacmet at sunsite.dk
Sun May 22 14:58:32 UTC 2011


commit: http://git.buildroot.net/buildroot/commit/?id=5c8c02a0c6747357ecc3f4884b065cf08bf2395a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The QtScriptTools library depends on the QtGui library, as can be seen
in the src/src.pro file of the Qt sources :

!contains(QT_CONFIG, no-gui):contains(QT_CONFIG, scripttools): SRC_SUBDIRS += src_scripttools

If the scripttools are enabled in the Qt configuration, but not the
gui, then the scripttools library is not built by Qt, and the
Buildroot build process fails with:

cp: cannot stat `/home/test/outputs/test-502/host/usr/sh4-unknown-linux-gnu/sysroot/usr/lib/libQtScriptTools.so.*': No such file or directory

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/qt/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/qt/Config.in b/package/qt/Config.in
index eafc855..4a3945c 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -373,6 +373,7 @@ config BR2_PACKAGE_QT_SCRIPT
 config BR2_PACKAGE_QT_SCRIPTTOOLS
 	bool "Script Tools Module"
 	depends on BR2_PACKAGE_QT_SCRIPT
+	depends on BR2_PACKAGE_QT_GUI_MODULE
 	help
 	  Build the Qt Script Tools module.
 	  if unsure, say n.
-- 
1.7.3.4




More information about the buildroot mailing list