From: Juergen Hunold (hunold_at_[hidden])
Date: 2005-12-08 15:07:33
On Thursday 08 December 2005 10:18, Jürgen Hunold wrote:
> Hi Alo !
> Okay, I'll try to put something together this evening.
And here it comes ;-))
Adds support for "moc-only headers" by simply copying the mechanism for
moccing .cpp files via "cast.jam".
Changes the name of moc.cpp action to "moc.inc" because it is now used
for both use cases.
Build-System for Qt4, testet for Debian Unstable/gcc-4.0.2
Requires configured qt-snapshot 4.1.0 (2005-11-30) and the tools
Building them on demand (like quickbook) should not be too difficult,
but figuring the platform settings out of the .pro file is too much
work right now.
I hope I got the platform dependent stuff right now. And the QT_MAKEDLL
for win32 ;-))
Simple external test for building a small qt4 based library.
Show all hacks needed.
Shows what happens when building libx.
Unfortunately, the targets created by cast.jam are not marked explicit,
so they show up here.
I think this bug show up when usig pch.jam, too.
I hope it will be fixed soon.
I can't get cast.jam to work inside of Boost.Test run (see
examples/qtestlib/tutorial[1-3] ). I'd like to run QTestLib based tests
with the Boost.Test routine, but QTestLib requieres the .cpp containing
the test to be moc'ed and included and I can't get this to work.
I've tested mysql (with /usr/include/mysql Standard-Installation) and
sqlite (with Qt's 3rdparty) sources and set up a simple selection
mechanism to select plugin, builtin or none.
Unfortunately, this creates a myriad of different build-variants.
In general, the moc support is very uncomfortable.
I'd like to have some "meta-generator" which checks all .h and .cpp
files for the (in)famous Q_OBJECT makro and then automagically does the
right thing, just like qmake. But I don't have the knowledge to hack
Any other comments and more tests are welcome.
-- * 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