Revision | 1246c8ed45f285342d42d0546635f4cf5ebc7129 (tree) |
---|---|
Zeit | 2024-04-03 21:28:28 |
Autor | Fs <Fsu0413@vip....> |
Commiter | Fs |
这文件啥时候出来的?
@@ -50,6 +50,7 @@ find "${PATH_TO_HOST}/lib/" -name '*.prl' -maxdepth 1 -exec cp '{}' "${PATH_TO_T | ||
50 | 50 | ) > "${PATH_TO_TARGET}/bin/qmake" |
51 | 51 | |
52 | 52 | chmod +x "${PATH_TO_TARGET}/bin/qmake" |
53 | +[ -e "${PATH_TO_TARGET}/bin/qmake6" ] && cp "${PATH_TO_TARGET}/bin/qmake" "${PATH_TO_TARGET}/bin/qmake6" | |
53 | 54 | |
54 | 55 | ( |
55 | 56 | echo '#!/bin/sh' |
@@ -61,6 +62,7 @@ chmod +x "${PATH_TO_TARGET}/bin/qmake" | ||
61 | 62 | ) > "${PATH_TO_TARGET}/bin/qtpaths" |
62 | 63 | |
63 | 64 | chmod +x "${PATH_TO_TARGET}/bin/qtpaths" |
65 | +[ -e "${PATH_TO_TARGET}/bin/qtpaths6" ] && cp "${PATH_TO_TARGET}/bin/qtpaths" "${PATH_TO_TARGET}/bin/qtpaths6" | |
64 | 66 | |
65 | 67 | # judge if sed / gsed is GNU sed |
66 | 68 | GNU_SED= |
@@ -49,6 +49,11 @@ Set qmake = fso.OpenTextFile(PATH_TO_TARGET & "\bin\qmake.bat", 2, True) | ||
49 | 49 | qmake.WriteLine """%~dp0\..\host\bin\qmake"" -qtconf ""%~dp0\target_qt.conf"" %*" |
50 | 50 | qmake.Close |
51 | 51 | |
52 | +If fso.FileExists(PATH_TO_TARGET & "\bin\qmake6.bat") Then | |
53 | + fso.DeleteFile PATH_TO_TARGET & "\bin\qmake6.bat" | |
54 | + fso.CopyFile PATH_TO_TARGET & "\bin\qmake.bat", PATH_TO_TARGET & "\bin\qmake6.bat" | |
55 | +End If | |
56 | + | |
52 | 57 | fso.DeleteFile PATH_TO_TARGET & "\bin\qtpaths.bat" |
53 | 58 | |
54 | 59 | Dim qtpaths |
@@ -56,6 +61,11 @@ Set qtpaths = fso.OpenTextFile(PATH_TO_TARGET & "\bin\qtpaths.bat", 2, True) | ||
56 | 61 | qtpaths.WriteLine """%~dp0\..\host\bin\qtpaths"" -qtconf ""%~dp0\target_qt.conf"" %*" |
57 | 62 | qtpaths.Close |
58 | 63 | |
64 | +If fso.FileExists(PATH_TO_TARGET & "\bin\qtpaths6.bat") Then | |
65 | + fso.DeleteFile PATH_TO_TARGET & "\bin\qtpaths6.bat" | |
66 | + fso.CopyFile PATH_TO_TARGET & "\bin\qtpaths.bat", PATH_TO_TARGET & "\bin\qtpaths6.bat" | |
67 | +End If | |
68 | + | |
59 | 69 | Dim target_qtconf |
60 | 70 | Dim target_qtconfold |
61 | 71 | Set target_qtconf = fso.OpenTextFile(PATH_TO_TARGET & "\bin\target_qt.conf.new", 2, True) |