Révision | 36d31ac72365d2c6842e99258c4aa761b4214961 (tree) |
---|---|
l'heure | 2022-11-20 09:23:12 |
Auteur | Fs <Fsu0413@vip....> |
Commiter | Fs |
又TM白干了啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
@@ -73,13 +73,7 @@ sed -i '' -e 's,^set(__qt_platform_initial_qt_host_path_cmake_dir[[:space:]].*$, | ||
73 | 73 | |
74 | 74 | sed -i '' -e '/^set(__qt_toolchain_initial_qt_host_path[[:space:]]*$/{N |
75 | 75 | c\ |
76 | -set(__qt_platform_initial_qt_host_path "${CMAKE_CURRENT_LIST_DIR}/../../../host") | |
77 | -d | |
78 | -}' "${PATH_TO_TARGET}/lib/cmake/Qt6/qt.toolchain.cmake" | |
79 | - | |
80 | -sed -i '' -e '/^set(__qt_platform_initial_qt_host_path_cmake_dir[[:space:]]*$/{N | |
81 | -c\ | |
82 | -set(__qt_platform_initial_qt_host_path_cmake_dir "${CMAKE_CURRENT_LIST_DIR}/../../../host/lib/cmake") | |
76 | +set(__qt_toolchain_initial_qt_host_path "${CMAKE_CURRENT_LIST_DIR}/../../../host") | |
83 | 77 | d |
84 | 78 | }' "${PATH_TO_TARGET}/lib/cmake/Qt6/qt.toolchain.cmake" |
85 | 79 |
@@ -112,11 +112,8 @@ Do until qt_toolchain_cmakeold.AtEndOfStream | ||
112 | 112 | If Left(Trim(line), 49) = "set(__qt_toolchain_initial_qt_host_path_cmake_dir" Then |
113 | 113 | line = "set(__qt_toolchain_initial_qt_host_path_cmake_dir ""${CMAKE_CURRENT_LIST_DIR}/../../../host/lib/cmake"")" |
114 | 114 | qt_toolchain_cmakeold.ReadLine |
115 | - ElseIf Left(Trim(line), 48) = "set(__qt_platform_initial_qt_host_path_cmake_dir" Then | |
116 | - line = "set(__qt_platform_initial_qt_host_path_cmake_dir ""${CMAKE_CURRENT_LIST_DIR}/../../../host/lib/cmake"")" | |
117 | - qt_toolchain_cmakeold.ReadLine | |
118 | - ElseIf Left(Trim(line), 38) = "set(__qt_platform_initial_qt_host_path" Then | |
119 | - line = "set(__qt_platform_initial_qt_host_path ""${CMAKE_CURRENT_LIST_DIR}/../../../host"")" | |
115 | + ElseIf Left(Trim(line), 39) = "set(__qt_toolchain_initial_qt_host_path" Then | |
116 | + line = "set(__qt_toolchain_initial_qt_host_path ""${CMAKE_CURRENT_LIST_DIR}/../../../host"")" | |
120 | 117 | qt_toolchain_cmakeold.ReadLine |
121 | 118 | End If |
122 | 119 | qt_toolchain_cmake.WriteLine line |