summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/tqmoc/README
blob: cf07c8a32c24a787ddc3847c67bc24d1195372a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This directory contains the source code for the Qt Meta Object
Compiler (tqmoc).

The files tqmoc_yacc.cpp, tqmoc_yacc.h and tqmoc_lex.cpp are generated by
lex and yacc from tqmoc.l and tqmoc.y.

To compile the tqmoc program from scratch, you need lex and yacc. These
tools are preinstalled on most Unix systems, often as symbolic links
to flex and byacc or bison.

If you run Windows, you can install the Cygwin32 package available at
ftp://ftp.cygnus.com/pub/gnu-win32/win32.

yacc -d tqmoc.y
mv y.tab.c tqmoc_yacc.cpp
mv y.tab.h tqmoc_yacc.h






lex -o tqmoc_lex.cpp tqmoc.l
yacc -d -o tqmoc_yacc.cpp tqmoc.y