From 1a7fabe6cbba2f584fe8a29a61b4e3fef8314a94 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 6 Jul 2025 17:55:54 +0900 Subject: Add guiThread --> coreThread to conversion scripts and to r14.1.x backporting script Signed-off-by: Michele Calgaro --- conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'conversions') diff --git a/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3 b/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3 index 1b8976c..7b51767 100755 --- a/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3 +++ b/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3 @@ -371,6 +371,15 @@ xargs -r0 sed -i \ -e 's/ubitquitous/ubiquitous/g' \ -e 's/unitquifying/uniquifying/g' +# Additional changes for TDE R14.2.0+ +find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\ +xargs -r0 sed -i \ + -e "s|\bguiThread\b|coreThread|g" \ + -e "s|\bguiThreadAwake\b|coreThreadAwake|g" \ + -e "s|\bfinishGuiThread\b|finishCoreThread|g" \ + -e "s|\bisGuiThread\b|isCoreThread|g" \ + -e "s|\bwakeUpGuiThread\b|wakeUpCoreThread|g" + # Headers find ./ -type f -iname "*" -not -iwholename '*.git*' -print0 |\ xargs -r0 sed -i \ -- cgit v1.2.3