lp://qastaging/scons-qt4

Created by Russel Winder and last modified
Get this branch:
bzr branch lp://qastaging/scons-qt4
Members of SCons Qt4 Developers can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
SCons Qt4 Developers
Project:
SCons Qt4 Tool
Status:
Mature

Recent revisions

18. By Dirk Baechle

- added "How-to install" instructions for the Tool to the manual (as proposed by Bastian Gorholt, bug #684655)
- fixed the sorting of Moc targets in the Automoc class to prevent spurious rebuilds, is now correctly based on the file/entry names instead of their references (reported by Danny Valente, bug #684933)
- added a testcase for the latter bug

17. By Dirk Baechle

- updated/fixed the user manual (wrong syntax for Qrc4 and Qm4 builders)

16. By Dirk Baechle

- added support for scanning all CPPPATH folders, when searching for mocable files (#604405, suggested/reported by Francis Bolduc)
- added test cases
- updated documentation (reference and manual)

15. By Dirk Baechle

- fixed some tests, such that they work under Windows (Qt4 SDK, Mingw) as well
- improved the Qt path detection for the tests (appending a "/qt" for binary SDKs)
- several additions to the "Qt examples" script (tested with Qt 4.6.2 under Ubuntu)

14. By Dirk Baechle

- bugfix: wrong order of arguments in call of Automoc fallback strategy
- added another Qrc test case

13. By Dirk Baechle

Some smaller improvements to the Qrc4() Builder:

- added an emitter, such that .qrc files get the correct prefix/suffix
  when directly added to the source list for Program/Library
- allowed lists as input to Qrc4()
- bugfix: the default value for the "-name" option was not correct
  when the input file had a leading path (relative/absolute)
- added tests

12. By Dirk Baechle

- change in behaviour: all CPPDEFINEs are now passed to the "moc"
  executable by default (QT4_CPPDEFINES_PASSTOMOC=1)
- appended a trailing "4" to the Builder names Ts/Qm/Qrc
  (-> Ts4/Qm4/Qrc4) for the sake of consistency
- the Qrc4 Builder now registers the .qrc extension with the
  environment, such that we can give Resource files to the
  list of sources directly
- the Qrc4 Builder sets the name of the Resource to the
  prefix of the .qrc file by default (using the "-name" option)
- Ts4, Qm4, Qrc4 are all wrapped as pseudo-Builders now and support
  a single prefix as argument (Ts4('foo'))
- bugfix: corrected the regular expressions for the C/CXX
  comment eater (QT4_GOBBLECOMMENTS)
- bugfix: removed the static variables for Automoc'ing from the
  _Automoc class (prevented env.Clone() to work correctly)
- added a few more test cases
- updated documentation

11. By Dirk Baechle

- bugfix: Q_OBJECT in a literal C string was detected by the Automoc function, e.g. printf("Q_OBJECT")
- added a script for compiling all Qt4 examples via the SCons test framework

10. By Russel Winder

Merge in Dirk's changes resolving the conflicts.

9. By Russel Winder

Merge in Philippe's changes as per merge request 25106.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.