summaryrefslogtreecommitdiffstats
path: root/qt3-tqt3/create_tqt3_from_qt3
blob: a22acf8d4c6f0ce7896039c97fe4c0b2a0a5b4cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

cp -Rp ../../main/dependencies/qt3/ tqt3
cd tqt3
../convert_qt_itself_qt3
../header_rename_1
patch -p0 < ../tqt3_fixups_batch2.diff
../convert_qt_itself_qt3_batch2
patch -p0 < ../tqt3_fixups_batch3.diff
../convert_qt_itself_qt3_batch3
patch -p0 < ../tqt3_bin_rename.diff
patch -p0 < ../tqt3_fixups_batch4.diff
../convert_qt_itself_qt3_batch4
../man_rename_1

# Regenerate moc files
cd src/moc/
yacc -d moc.y -o moc_yacc && mv moc_yacc moc_yacc.cpp
flex moc.l
mv lex.yy.c moc_lex.cpp