Boost logo

Boost-Build :

From: Felix E. Klee (felix.klee.jamboost_at_[hidden])
Date: 2003-01-15 05:49:53


Hi,

I would like to use Boost Build V2 for building QT based applications. The
problem with QT is that it extends the C++ programming language by signals
and slots and a couple of other minor features. To translate this code to
standard C++, one has to call the so called moc (Meta Object Compiler). From
the QT 3 documentation:

The moc reads a C++ source file. If it finds one or more class declarations
that contain the Q_OBJECT macro, it produces another C++ source file which
contains the meta object code for the classes that contain the Q_OBJECT
macro. This generated source file is either #included into the class' source
file or compiled and linked with the class' implementation.

In addition in QT based projects one often has to deal with .ui files that are
created by the QT's Designer (a GUI building tool). These files have to be
compiled with the so called uic (User Interface Compiler). From the QT 3
documentation:

The uic reads a user interface definition (.ui) file in XML as generated by
Qt Designer and creates corresponding C++ header or source files. It can
also generate an image file to embed raw image data in C++ source code.

Any ideas how to add support for QT to Boost Build V2 (not neccessarily
intrinsically)?

Felix

-- 
To contact me personally don't reply but send email to 
felix DOT klee AT inka DOT 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