Rev 107 | Blame | Compare with Previous | Last modification | View Log | RSS feed
// -*- MPC -*-
// $Id: qt.mpb 107 2005-09-02 16:42:23Z bj $
project {
requires += qt
includes += $(QTDIR)/include
libpaths += $(QTDIR)/lib
macros += QT_THREAD_SUPPORT
// @@ Notice: If you are building with Cygwin, you may need to manually
// change the following Qt library to qt-mt230nc.
specific(gnuace, make, sle, automake, ghs) {
lit_libs += qt-mt
} else {
lit_libs += qt-mt230nc
}
Define_Custom(UIC) {
automatic = 1
command = $(QTDIR)/bin/uic
postcommand = $(QTDIR)/bin/uic -impl <%output_noext%>.h -o <%output_noext%>.cpp <%input%>
output_option = -o
inputext = .ui
header_outputext = .h
}
Define_Custom(MOC) {
automatic = 0
command = $(QTDIR)/bin/moc
output_option = -o
pch_postrule = 1
inputext = .h
pre_extension = _moc
source_outputext = .cpp
}
}