migration(grantlee): handle Qt5Gui pattern when patching installed Grantlee config to Qt6
This commit is contained in:
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 /find_package(Qt6 REQUIRED COMPONENTS /g' \
|
||||
-e 's/find_package\(Qt5Gui REQUIRED\)/find_package(Qt6 REQUIRED COMPONENTS Gui)/g' \
|
||||
"$CONFIG_FILE.bak" > "$CONFIG_FILE"
|
||||
|
||||
# quick sanity check
|
||||
|
||||
Reference in new issue
Block a user