qt: scripttools needs gui
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 22 May 2011 08:53:40 +0000 (10:53 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 22 May 2011 13:52:34 +0000 (15:52 +0200)
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@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt/Config.in

index eafc855a449f21ef686c32a66bd5ce15caa8bf01..4a3945c82b4e79c82e5f24c5b477f3170898c324 100644 (file)
@@ -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.