Subversion Repositories gelsvn

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
107 bj 1
// -*- MPC -*-
2
// $Id: qt.mpb 107 2005-09-02 16:42:23Z bj $
3
 
4
project {
5
  requires += qt
6
  includes += $(QTDIR)/include
7
  libpaths += $(QTDIR)/lib
8
  macros   += QT_THREAD_SUPPORT
9
 
10
  // @@ Notice: If you are building with Cygwin, you may need to manually
11
  //            change the following Qt library to qt-mt230nc.
12
  specific(gnuace, make, sle, automake, ghs) {
13
    lit_libs += qt-mt
14
  } else {
15
    lit_libs += qt-mt230nc
16
  }
17
 
18
  Define_Custom(UIC) {
19
    automatic        = 1
20
    command          = $(QTDIR)/bin/uic
21
    postcommand      = $(QTDIR)/bin/uic -impl <%output_noext%>.h -o <%output_noext%>.cpp <%input%>
22
    output_option    = -o
23
    inputext         = .ui
24
    header_outputext = .h
25
  }
26
 
27
  Define_Custom(MOC) {
28
    automatic        = 0
29
    command          = $(QTDIR)/bin/moc
30
    output_option    = -o
31
    pch_postrule     = 1
32
    inputext         = .h
33
    pre_extension    = _moc
34
    source_outputext = .cpp
35
  }
36
 
37
}