|
Boost-Build : |
Subject: [Boost-build] bjam fails to build Qt project when including QtUiTools
From: scholc (christoph.scholtes_at_[hidden])
Date: 2014-08-11 17:24:44
bjam (boost-build from boost 1.54.0, running on Ubuntu 14.04) fails to build
a Qt program when including QtUiTools. Including any other Qt component
seems to work fine. Removing QtUiTools from the Jamroot below results in a
successful build. The source files just contain a dummy class and include
QtCore.
Simple Jamroot to reproduce issue:
using gcc ;
using qt4 : /usr/lib/x86_64-linux-gnu/qt4/ ;
lib DummyLib
: source.cpp
header.hpp
/qt//QtCore
/qt//QtUiTools
: <include>.
<include>/usr/include/qt4/
;
Error message when running bjam:
/usr/share/boost-build/tools/builtin.jam:883: in
linking-generator.generated-targets
*** argument error
* rule generator.generated-targets ( sources + : property-set : project name
? )
* called with: ( : object(property-set)@246 : object(project-target)@108
QtUiTools )
* missing argument sources
/usr/share/boost-build/build/generators.jam:536:see definition of rule
'generator.generated-targets' being called
/usr/share/boost-build/tools/unix.jam:67: in generated-targets
/usr/share/boost-build/build/generators.jam:459: in construct-result
/usr/share/boost-build/build/generators.jam:412: in run-really
/usr/share/boost-build/build/generators.jam:386: in generator.run
/usr/share/boost-build/tools/builtin.jam:798: in linking-generator.run
/usr/share/boost-build/tools/unix.jam:41: in unix-linking-generator.run
/usr/share/boost-build/tools/gcc.jam:689: in class_at_gcc-linking-generator.run
/usr/share/boost-build/build/generators.jam:994: in try-one-generator-really
/usr/share/boost-build/build/generators.jam:1056: in try-one-generator
/usr/share/boost-build/build/generators.jam:1294: in construct-really
/usr/share/boost-build/build/generators.jam:1378: in generators.construct
/usr/share/boost-build/tools/builtin.jam:482: in class_at_lib-generator.run
/usr/share/boost-build/build/generators.jam:994: in try-one-generator-really
/usr/share/boost-build/build/generators.jam:1056: in try-one-generator
/usr/share/boost-build/build/generators.jam:1294: in construct-really
/usr/share/boost-build/build/generators.jam:1378: in generators.construct
/usr/share/boost-build/build/targets.jam:1532: in construct
/usr/share/boost-build/build/targets.jam:1332: in
class_at_basic-target.generate
/usr/share/boost-build/build/targets.jam:757: in generate-really
/usr/share/boost-build/build/targets.jam:729: in class_at_main-target.generate
/usr/share/boost-build/build/targets.jam:874: in
targets.generate-from-reference
/usr/share/boost-build/build/targets.jam:1245: in generate-dependencies
/usr/share/boost-build/build/targets.jam:1302: in
class_at_basic-target.generate
/usr/share/boost-build/build/targets.jam:757: in generate-really
/usr/share/boost-build/build/targets.jam:729: in class_at_main-target.generate
/usr/share/boost-build/build/targets.jam:272: in
class_at_project-target.generate
/usr/share/boost-build/build-system.jam:707: in load
/usr/share/boost-build/kernel/modules.jam:289: in import
/usr/share/boost-build/kernel/bootstrap.jam:139: in boost-build
/usr/share/boost-build/boost-build.jam:8: in module scope
-- View this message in context: http://boost.2283326.n4.nabble.com/bjam-fails-to-build-Qt-project-when-including-QtUiTools-tp4666271.html Sent from the Boost - Build mailing list archive at Nabble.com.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk