|
Boost-Build : |
Subject: Re: [Boost-build] [boost-build] QT4 build from source question
From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2009-11-19 15:14:25
Hi Brian !
On Wednesday 18 November 2009, you wrote:
> Is there a set of Jamfile's that need to be put in the qt tree so
> that my app can reference /qt//QtCore etc? This all works just
> great if I use the system installed QT4 and qmake to build things,
> but I have to cross-compile now and would like to have it all
> self-contained for multiple targets.
First, did you take a look at qt4.jam ?
A simple
import qt ;
using qt : <where your qt is> ;
in user-config.jam (or Jamroot) should get you started using a pre-built
qt. You can then use the targets like /qt//QtSvg as usual.
Please scan qt4.jam for more options, including target requirements and
feel free to ask any remaining questions here or on IRC.
Second, I've tried to get Qt built by Boost.Build, but have given up due
to lack of time and the missing 3rdparty library configure support. Qt's
configure system allows a *lot* of different configs and emulating that
(several image libs, X libraries, databases plugins (or not),you name
it) is a huge task. If you're interested, I could see if I still can
produce a tarball of it ;-)
It did build for my frozen Linux and Windows company setup at least. But
using a precompiled Qt is much better as adding _thousands_ of files to
a Boost.Build tree will slow things down noticeably...
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold_at_[hidden] ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !
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