You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/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
|
|
|
|
|
|
|
|
# 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
|