|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-07-07 00:33:55
Hi,
I've just tried the recently released Qt4, and have a couple of question about
best modifications to qt.jam for Qt users out there.
1. Qt is now split into several libraries. Should we do the same in
Boost.Build, so that users will write:
exe hello : hello.cpp /qt//Qtgui ;
? This will mean that Jamfiles built against Qt4 will be incompatible with
Jamfiles using Qt3, but those versions are not source compatible anyway.
2. The include directory has subdirectories "Qt" with QApplication, QWidget
and other similar headers (without .h), and subdirectories for each
component. We clearly should add include path of <qt-prefix>/include/Qt, but
what about component dirs. IOW, should it be possible to
#include <QtGui/qapplication.h>
?
3. Finally, how do we know we're using Qt4? Should we add version parameter to
qt.init and require that it's always passed? Or there's another way to detect
Qt version?
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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