Boost logo

Boost-Build :

From: Kevin Wheatley (hxpro_at_[hidden])
Date: 2005-11-21 06:42:16


Hi,

I'm experimenting with using Qt 4.0.1 with the latest CVS and wondered
if it should be possible to reference a UI file with a lib target? I
know it works with an exe target. I'd like to build the lib separately
so that I can test the GUI easier, plus it means I can separate out
what gets bundled into the application easier, e.g.

using qt4 ;

exe myapp : main.cpp myapp.rc myapplibrary ;

exe myapp_test : testingmain.cpp myapp.rc myapplibrary ;

lib myapplibrary : myapp.ui myclass.cpp myclass.h : <link>static
<library>/qt4//QtGui ;

Thanks

Kevin

-- 
| Kevin Wheatley, Cinesite (Europe) Ltd | Nobody thinks this      |
| Senior Technology                     | My employer for certain |
| And Network Systems Architect         | Not even myself         |

Performing Makefile project actions
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:885: in virtual-target.register-actual-name
warning: rulename $(cs2).main-target expands to empty string
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:450: in actualize-no-scanner
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:110: in object(file-target)@318.actualize
D:/Boost/boost/tools/build/v2/tools\qt4.jam:231: in object(uic-h-generator)@24.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in construct
D:/Boost/boost/tools/build/v2/build\generators.jam:883: in generators.construct-types
D:/Boost/boost/tools/build/v2/build\generators.jam:492: in convert-to-consumable-types
D:/Boost/boost/tools/build/v2/build\generators.jam:550: in convert-multiple-sources-to-consumable-types
D:/Boost/boost/tools/build/v2/build\generators.jam:310: in run-really
D:/Boost/boost/tools/build/v2/build\generators.jam:295: in generator.run
D:/Boost/boost/tools/build/v2/tools\builtin.jam:778: in object(archive-generator)@16.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct
D:/Boost/boost/tools/build/v2/tools\builtin.jam:412: in object(lib-generator)@4.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct
D:/Boost/boost/tools/build/v2/build\targets.jam:1244: in construct
D:/Boost/boost/tools/build/v2/build\targets.jam:1127: in object(typed-target)@117.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:756: in generate-really
D:/Boost/boost/tools/build/v2/build\targets.jam:729: in object(main-target)@139.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:251: in object(project-target)@111.generate
D:/Boost/boost/tools/build/v2\build-system.jam:276: in load
D:\Boost\boost\tools\build\v2\kernel\modules.jam:261: in import
D:\Boost\boost\tools\build\v2\kernel\bootstrap.jam:186: in boost-build
D:\Boost\boost\tools\build\v2\boost-build.jam:2: in module scope
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:907: in virtual-target.register-actual-name
warning: rulename $(cmt2).full-name expands to empty string
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:450: in actualize-no-scanner
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:110: in object(file-target)@318.actualize
D:/Boost/boost/tools/build/v2/tools\qt4.jam:231: in object(uic-h-generator)@24.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in construct
D:/Boost/boost/tools/build/v2/build\generators.jam:883: in generators.construct-types
D:/Boost/boost/tools/build/v2/build\generators.jam:492: in convert-to-consumable-types
D:/Boost/boost/tools/build/v2/build\generators.jam:550: in convert-multiple-sources-to-consumable-types
D:/Boost/boost/tools/build/v2/build\generators.jam:310: in run-really
D:/Boost/boost/tools/build/v2/build\generators.jam:295: in generator.run
D:/Boost/boost/tools/build/v2/tools\builtin.jam:778: in object(archive-generator)@16.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct
D:/Boost/boost/tools/build/v2/tools\builtin.jam:412: in object(lib-generator)@4.run
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct
D:/Boost/boost/tools/build/v2/build\targets.jam:1244: in construct
D:/Boost/boost/tools/build/v2/build\targets.jam:1127: in object(typed-target)@117.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:756: in generate-really
D:/Boost/boost/tools/build/v2/build\targets.jam:729: in object(main-target)@139.generate
D:/Boost/boost/tools/build/v2/build\targets.jam:251: in object(project-target)@111.generate
D:/Boost/boost/tools/build/v2\build-system.jam:276: in load
D:\Boost\boost\tools\build\v2\kernel\modules.jam:261: in import
D:\Boost\boost\tools\build\v2\kernel\bootstrap.jam:186: in boost-build
D:\Boost\boost\tools\build\v2\boost-build.jam:2: in module scope
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:909: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <p..\bin\gammaSlammerQtUI\msvc-7.1\debug\link-static\threading-multi\user-interface-gui>ui_gammaslammerqtui.h
error: previous virtual target { qt4%qt4.uic-h-ui_gammaslammerqtui.h.H { gammaslammerqtui.ui.UI } }
error: created from ../gammaSlammerQtUI/gammaSlammerQtUI
error: another virtual target { qt4%qt4.uic-h-ui_gammaslammerqtui.h.H { gammaslammerqtui.ui.UI } }
error: created from
error: added properties: none
error: removed properties: none
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:450: in actualize-no-scanner from module object(file-target)@318
D:/Boost/boost/tools/build/v2/build\virtual-target.jam:110: in object(file-target)@318.actualize from module object(file-target)@318
D:/Boost/boost/tools/build/v2/tools\qt4.jam:231: in object(uic-h-generator)@24.run from module object(uic-h-generator)@24
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in construct from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:883: in generators.construct-types from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:492: in convert-to-consumable-types from module object(archive-generator)@16
D:/Boost/boost/tools/build/v2/build\generators.jam:550: in convert-multiple-sources-to-consumable-types from module object(archive-generator)@16
D:/Boost/boost/tools/build/v2/build\generators.jam:310: in run-really from module object(archive-generator)@16
D:/Boost/boost/tools/build/v2/build\generators.jam:295: in generator.run from module object(archive-generator)@16
D:/Boost/boost/tools/build/v2/tools\builtin.jam:778: in object(archive-generator)@16.run from module object(archive-generator)@16
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct from module generators
D:/Boost/boost/tools/build/v2/tools\builtin.jam:412: in object(lib-generator)@4.run from module object(lib-generator)@4
D:/Boost/boost/tools/build/v2/build\generators.jam:822: in try-one-generator-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:869: in try-one-generator from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1076: in construct-really from module generators
D:/Boost/boost/tools/build/v2/build\generators.jam:1135: in generators.construct from module generators
D:/Boost/boost/tools/build/v2/build\targets.jam:1244: in construct from module object(typed-target)@117
D:/Boost/boost/tools/build/v2/build\targets.jam:1127: in object(typed-target)@117.generate from module object(typed-target)@117
D:/Boost/boost/tools/build/v2/build\targets.jam:756: in generate-really from module object(main-target)@139
D:/Boost/boost/tools/build/v2/build\targets.jam:729: in object(main-target)@139.generate from module object(main-target)@139
D:/Boost/boost/tools/build/v2/build\targets.jam:251: in object(project-target)@111.generate from module object(project-target)@111
D:/Boost/boost/tools/build/v2\build-system.jam:276: in load from module build-system
D:\Boost\boost\tools\build\v2\kernel\modules.jam:261: in import from module modules
D:\Boost\boost\tools\build\v2\kernel\bootstrap.jam:186: in boost-build from module
D:\Boost\boost\tools\build\v2\boost-build.jam:2: in module scope from module
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"


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