summaryrefslogtreecommitdiffstats
path: root/qt3-tqt3/create_tqt3_from_qt3
blob: 868821e50625dc8dce4e864032ad8cc4036065e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

# 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