diff options
-rwxr-xr-x | qt3-tqt3/convert_qt_itself_qt3_batch4 | 12 | ||||
-rwxr-xr-x | qt3-tqt3/rename_other_files | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/qt3-tqt3/convert_qt_itself_qt3_batch4 b/qt3-tqt3/convert_qt_itself_qt3_batch4 index 1162789..e00245b 100755 --- a/qt3-tqt3/convert_qt_itself_qt3_batch4 +++ b/qt3-tqt3/convert_qt_itself_qt3_batch4 @@ -79,4 +79,16 @@ find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/qt20fix/tqt find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/ttqtconv2ui/tqtconv2ui/g' {} \; find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/ttqvfb/tqvfb/g' {} \; +# Rename little-used libraries +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/-leditor/-ltqteditor/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/libeditor/libtqteditor/g' {} \; +find ./ -type f -iname "*.pro" -not -iwholename '*.git*' -exec sed -i 's/TARGET\(.*\) editor/TARGET\1 tqteditor/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/-ldesignercore/-ltqtdesignercore/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/libdesignercore/libtqtdesignercore/g' {} \; +find ./ -type f -iname "*.pro" -not -iwholename '*.git*' -exec sed -i 's/TARGET\(.*\) designercore/TARGET\1 tqtdesignercore/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/_designercore/_tqtdesignercore/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/-lqassistantclient/-ltqassistantclient/g' {} \; +find ./ -type f -iname "*" -not -iwholename '*.git*' -exec sed -i 's/libqassistantclient/libtqassistantclient/g' {} \; +find ./ -type f -iname "*.pro" -not -iwholename '*.git*' -exec sed -i 's/TARGET\(.*\) qassistantclient/TARGET\1 tqassistantclient/g' {} \; + exit 0 diff --git a/qt3-tqt3/rename_other_files b/qt3-tqt3/rename_other_files index 11cba95..0e89403 100755 --- a/qt3-tqt3/rename_other_files +++ b/qt3-tqt3/rename_other_files @@ -29,3 +29,8 @@ ls -d * | sed 's/\(.*\)qt20fix\(.*\)$/git mv "&" "\1tqt20fix\2"/' | grep mv | sh # Clean up unintended renames ls -d * | sed 's/\(.*\)ttqvfb\(.*\)$/git mv "&" "\1tqvfb\2"/' | grep mv | sh + +# Rename little-used libraries +ls -d * | sed 's/\(.*\)libeditor\(.*\)$/git mv "&" "\1libtqteditor\2"/' | grep mv | sh +ls -d * | sed 's/\(.*\)libdesignercore\(.*\)$/git mv "&" "\1libtqtdesignercore\2"/' | grep mv | sh +ls -d * | sed 's/\(.*\)libqassistantclient\(.*\)$/git mv "&" "\1libtqassistantclient\2"/' | grep mv | sh |