[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    [Boost-build] bjam fails to build Qt project when including QtUiTools
From:       scholc <christoph.scholtes () medtronic ! com>
Date:       2014-08-11 21:24:44
Message-ID: 1407792284675-4666271.post () n4 ! nabble ! com
[Download RAW message or body]

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@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@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@basic-target.generate
/usr/share/boost-build/build/targets.jam:757: in generate-really
/usr/share/boost-build/build/targets.jam:729: in class@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@basic-target.generate
/usr/share/boost-build/build/targets.jam:757: in generate-really
/usr/share/boost-build/build/targets.jam:729: in class@main-target.generate
/usr/share/boost-build/build/targets.jam:272: in
class@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.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic