diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-24 12:21:55 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-24 12:21:55 -0500 |
commit | 7bb4259779332cc76ed4a2d05e1c8bcb1c5ab9d7 (patch) | |
tree | b58a89bd3b7ce598b717df2fae78bdf86a4afb7e /qt3-tqt3/convert_qt_itself_qt3_rename | |
parent | 25e53f98b74b3c9a8c5ef57146d8e6d43c9ebde3 (diff) | |
download | experimental-7bb4259779332cc76ed4a2d05e1c8bcb1c5ab9d7.tar.gz experimental-7bb4259779332cc76ed4a2d05e1c8bcb1c5ab9d7.zip |
Add scripts to autogenerate a "real" TQt3 from the Qt3 sources in GIT
Diffstat (limited to 'qt3-tqt3/convert_qt_itself_qt3_rename')
-rwxr-xr-x | qt3-tqt3/convert_qt_itself_qt3_rename | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qt3-tqt3/convert_qt_itself_qt3_rename b/qt3-tqt3/convert_qt_itself_qt3_rename new file mode 100755 index 0000000..d78be6f --- /dev/null +++ b/qt3-tqt3/convert_qt_itself_qt3_rename @@ -0,0 +1,13 @@ +#!/bin/bash + +find ./ -type f -iname "*.c*" -exec sed -i 's/\(["<]\)q\(.*\)\.h\([">]\)/\1tq\2\.h\3/g' {} \; +find ./ -type f -iname "*.h*" -exec sed -i 's/\(["<]\)q\(.*\)\.h\([">]\)/\1tq\2\.h\3/g' {} \; + +find ./ -type f -iname "*.c*" -exec sed -i 's/\/q\(.*\)\.h\([">]\)/\/tq\1\.h\2/g' {} \; +find ./ -type f -iname "*.h*" -exec sed -i 's/\/q\(.*\)\.h\([">]\)/\/tq\1\.h\2/g' {} \; + +find ./ -type f -iname "*.c*" -exec sed -i 's/\(["<]\)q\(.*\)\.moc\([">]\)/\1tq\2\.moc\3/g' {} \; +find ./ -type f -iname "*.h*" -exec sed -i 's/\(["<]\)q\(.*\)\.moc\([">]\)/\1tq\2\.moc\3/g' {} \; + +find ./ -type f -iname "*.c*" -exec sed -i 's/\(["<]\)q\(.*\)\.cpp\([">]\)/\1tq\2\.cpp\3/g' {} \; +find ./ -type f -iname "*.h*" -exec sed -i 's/\(["<]\)q\(.*\)\.cpp\([">]\)/\1tq\2\.cpp\3/g' {} \; |