|
Boost-Build : |
From: Jürgen Hunold (hunold_at_[hidden])
Date: 2006-01-30 03:30:16
Hi Volodya !
On Friday 27 January 2006 10:14, Vladimir Prus wrote:
> > The attached file contains a patch for improved Qt4 support.
>
> The patch is comitted, thank you!
Good.
> > Features (maybe commit message )
> >
> > 1. Better qmake compatibility by adding the necessary defines for each
> > Qt library. E.g. qmake defines QT_CORE_LIB when generating makefiles
> > for a project using QtCore, QT_GUI_LIB for QtGui and so on.
But I messed up Qt3Support ;-((. Please find a new patch attached which
corrects QT_COMPAT_LIB to QT_QT3SUPPORT_LIB.
Sorry, but I have only one Qt3Support based "simple" example ...
> > 5. Add support for "moc-and-include header" by
>
> Does it mean that you have a header that includes .moc file resulting from
> procesing of that header? That's cool.
It's not mine, the Qt sources work with them. And no, they include the moc'ed
file in the _source_ , some files even include both (moc'ed cpp and moc'ed
header ) . Otherwise, it would be quite hard not to violate the ODR or some
other c++ contraints..
[ alias syntax vs. project syntax ]
> Because the target syntax was copied mostly-as-is from V1, while syntax for
> project was explicitly designed. I agree such a change will be desirable,
> but it will take some time because it will requires tweaking all rules.
Good to hear that it is only backwards compatibility in this case.
But don't push this, it would be nice to replace V1 first.
> > 5. Needed to compile Qt4 itself.
> > Drop me a note for a tarball and qt4.jam patch to compile Qt-4.1.0 and
> > 4.1.1-snapshots with V2 on Linux. Work in (slow) progress.
> > These hacks using "cast" are ugly, but I don't have the time to work on
> > a more qmake like approach.
>
> I'd be willing to try building Qt with V2, for sure!
I'll put the thing together and send it via private email.
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 * hunold_at_[hidden] ! www.ive-mbh.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