- support for multiple 'using qt' statements.
- auto-detection of Qt version using qmake.
- support for user-specified version.
- better debug messages.
- support for toolset requirements.
[SVN r51230]
Rationale: <user-interface>gui merely disables console output window on <target-os>windows.
But users often need console debug output when running Gui apps.
[SVN r40898]
- Add support for QtDBus library.
- Adjust to changes in Qt's build system: No parallel build of debug and release libraries on Unix anymore.
- Remove explicit "<variant>release" requirements for release builds, enabling custom build variants.
[SVN r35809]
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.
2. Added support for QtTestLib, the Qt Test Framework ( Qt 4.1)
3. Added support for QtAssistantClient, Qt Integrated Help System
4. Better readability by adding explicit comments (# usage-requirements)
and having one line per setting).
5. Add support for "moc-and-include header" by
5a. duplication of the "moccable-cpp" hack for headers.
5b. copy&change of "moc-h-generator" to "moc-inc-generator"
5c. renaming of the "moc.cpp" action to "moc.inc" and rearringing
documentation.
Patch from Juergen Hunold.
[SVN r32428]
The generator that handles moccable cpp files has to actualize created
targets right away. However, it did that before calling
virtual-target.register, so, if the generator was invoked two times on
the same target, it will produce two identical targets and call .actualize
on it. The second invocation would trigger "duplicate target" error.
[SVN r31797]
- correct registration of "qt4.moc.cpp" in line 86.
- add <threading>multi to the usage-requierements because qt4 is
_always_ and can only be built with multithreading enabled.
http://doc.trolltech.com/4.1/qt4-network.html#comparison-with-qt-3
- changes the declaration order of the libraries and corrects the
dependencies.
- add support for the new QtSvg SVG-Rendering library (Qt 4.1)
- fix -I vs. -D in moc rules.
Patch from Juergen Hunold.
[SVN r31673]
never contains moccable classes.
The trick here is that if we have:
exe a : a.cpp b.ui ;
Then we should produce b.h target that is not used by any action -- it's
only indirectly used by include in a.cpp.
So, we declared .ui -> .obj generator, so that it's invoked when
building exe, but make it return header, not .obj.
Second, the path of b.h should be added to include paths. But it was
not done, because b.h is not used anywhere and so is not included in
'subvariant' for this target -- which object is used to compute extra
incude path.
* build/virtual-target.jam
(register): Add result to .recent-targets
(recent-targets, clear-recent-targets): New functions.
* build/targets.jam
(basic-target.generate): Create subvariant from
'virtual-target.recent-targets' not just directly returned targets.
* tools/qt4.jam: Declare custom generator for ui->h conversion.
[SVN r30770]
- Add -name option to rcc invocation. This is needed to disambiguate
the name of the generated initialising function. Since qmake takes
the basename of the .qrc file I've copied this behaviour to have
consistent naming.
- Add -I option to moc invocation. I've added the include and
include/QtCore directories in order to be able to compile Qt4 with V2.
Patch from Juergen Hunold.
[SVN r30536]