|
Boost-Build : |
From: Jürgen Hunold (hunold_at_[hidden])
Date: 2004-12-20 04:50:20
Hi !
On Monday 20 December 2004 10:37, TEMPLIE Cédric wrote:
> Oki :)
>
> I have another problem....
> I have a link error. I search on QT doc and it seems that this
> linkage error is due to a missed of qmake step (that generate moc
> files).
>
> Is this step auto-performed by the QT toolset ?
All you have to do is add
1)
# Uses Qt-Library and Toolsets
<library>/qt
to your top-level Jamfile.
> If yes, have I something more than explain in examples to do ?
2)
add the needed Header-files to your projects sources.
That means:
exe a: widget.h widget.cpp main.cpp ;
You should then get the needed moc invocation an widget.h, creating
moc_widget.cpp and then compiling moc_widget.o with your compiler.
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau * voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover * fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover * hunold_at_[hidden] ! www.ive.uni-hannover.de
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