summaryrefslogtreecommitdiffstats
path: root/qt3-tqt3/convert_qt_itself_qt3
diff options
context:
space:
mode:
Diffstat (limited to 'qt3-tqt3/convert_qt_itself_qt3')
-rwxr-xr-xqt3-tqt3/convert_qt_itself_qt34
1 files changed, 4 insertions, 0 deletions
diff --git a/qt3-tqt3/convert_qt_itself_qt3 b/qt3-tqt3/convert_qt_itself_qt3
index 1cfdc98..10a534c 100755
--- a/qt3-tqt3/convert_qt_itself_qt3
+++ b/qt3-tqt3/convert_qt_itself_qt3
@@ -40,6 +40,10 @@ sed -i 's/TTQ/TQ/g' src/moc/moc.y
sed -i 's/TTQ/TQ/g' src/moc/moc.l
sed -i 's/TTQ/TQ/g' src/moc/moc.y
+# Move the library
+find ./ -type f -iname "*" -exec sed -i 's/qt-mt/tqt-mt/g' {} \;
+find ./ -type f -iname "*" -exec sed -i 's/qui/tqui/g' {} \;
+
# Back out changes we did not want to make
find ./ -type f -iname "*" -exec sed -i 's/TQT_/QT_/g' {} \;
find ./ -type f -iname "*" -exec sed -i 's/TQMAKE/QMAKE/g' {} \;