Hi, I've patched automake to include support for Qt's MOC. I've introduced a new prog_QTSOURCES variable for the user to specify the Qt based sources. I've modified the texinfo documentation, added tests.
Please note that this is my first automake patch so probably it is totally wrong, please give me pointers and criticism. I'm really interested in making this work and merge it to the master, so I can devote more time to it. I also have a git repository, where you can follow these and future changes on the topic: http://www.gergely.risko.hu/automake-qt Thanks, Gergely Gergely Risko (8): Qt integration Qt: cleanup, introduction of AM_MOCFLGS, libtool libraries support. Qt: documentation added, NEWS and ChangeLog updated. Qt: documentation typo fixes Qt: another major cleanup, support for per-executable flags and subdir-objects, silent rules. Qt: documentation update. Qt: tests added Qt: added AM_PROG_MOC, updated Changelog and documentation. ChangeLog | 14 +++++++ NEWS | 3 ++ automake.in | 60 ++++++++++++++++++++++++++++++++ doc/automake.texi | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++++ m4/Makefile.am | 1 + m4/Makefile.in | 1 + m4/qt.m4 | 32 +++++++++++++++++ tests/Makefile.am | 5 +++ tests/Makefile.in | 5 +++ tests/qt.test | 55 +++++++++++++++++++++++++++++ tests/qt2.test | 56 ++++++++++++++++++++++++++++++ tests/qt3.test | 57 +++++++++++++++++++++++++++++++ tests/qt4.test | 60 ++++++++++++++++++++++++++++++++ tests/qt5.test | 57 +++++++++++++++++++++++++++++++ 14 files changed, 504 insertions(+), 0 deletions(-) create mode 100644 m4/qt.m4 create mode 100755 tests/qt.test create mode 100755 tests/qt2.test create mode 100755 tests/qt3.test create mode 100755 tests/qt4.test create mode 100755 tests/qt5.test