INCLUDES variable correctly. You can find this file at src/roseExtensions/qtWidgets/Make.inc Template for your Makefile.am
include $(top_srcdir)/src/roseExtensions/qtWidgets/Make.inc
# Compile only when configured with --with-roseQt
if ROSE_WITH_ROSEQT
# Includes have to use += , because INCLUDES is already set in Make.inc
INCLUDES += $(ROSE_INCLUDES)
endif
moc here: http://doc.qtsoftware.com/4.5/moc.html
Example Makefile.am - entry, assuming you have a Widget.h and Widget.cpp
yourBin_SOURCES = Widget.cpp
nodist_yourBin_SOURCES = moc_Widget.cpp
uic does, and how to use it look at http://doc.qtsoftware.com/4.5/uic.html and http://doc.qtsoftware.com/4.5/designer-using-a-ui-file.htmlExample Makefile.am, assuming you have a Widget.ui
nodist_yourBin_SOURCES = ui_Widget.h
BUILT_SOURCES = ui_Widget.h
Warning: This setup described above is not optimal. The dependency of Widget.h on Widget.ui is not handled right.
The ui_Widget.h is generated once in the all target. When you've changed the .ui file you have to do a make clean first.
rcc. Example Makefile.am, assuming your file is named res.qrc
nodist_yourBin_SOURCES = qrc_res.cpp
1.4.7