migration(grantlee): handle Qt5Gui pattern when patching installed Grantlee config to Qt6

This commit is contained in:
Copilot authored and Torsten Wierschin committed 2026-07-21 13:42:52 +02:00
1 parent 2793db9d9d
commit f783b6e590
1 file changed
+1
@@ -22,6 +22,7 @@ sed -E -e 's/find_package\(Qt5Required Gui\)/find_package(Qt6 REQUIRED Gui)/g' \
-e 's/find_package\(Qt5 REQUIRED Qml\)/find_package(Qt6 REQUIRED COMPONENTS Qml)/g' \ -e 's/find_package\(Qt5 REQUIRED Qml\)/find_package(Qt6 REQUIRED COMPONENTS Qml)/g' \
-e 's/find_package\(Qt5 REQUIRED Qml\)/find_package(Qt6 REQUIRED COMPONENTS Qml)/g' \ -e 's/find_package\(Qt5 REQUIRED Qml\)/find_package(Qt6 REQUIRED COMPONENTS Qml)/g' \
-e 's/find_package\(Qt5 REQUIRED /find_package(Qt6 REQUIRED COMPONENTS /g' \ -e 's/find_package\(Qt5 REQUIRED /find_package(Qt6 REQUIRED COMPONENTS /g' \
-e 's/find_package\(Qt5Gui REQUIRED\)/find_package(Qt6 REQUIRED COMPONENTS Gui)/g' \
"$CONFIG_FILE.bak" > "$CONFIG_FILE" "$CONFIG_FILE.bak" > "$CONFIG_FILE"
# quick sanity check # quick sanity check