輸出檔案:找不到部分路徑

輸出檔案:找不到部分路徑

我試著跟隨本教程這解釋瞭如何下載 Qt 的靜態 mingw 建構器,但我收到此錯誤。我確實按照提到的步驟進行了操作。有誰知道如何解決這個問題?

Out-File: cannot find part of path  C:\Qt\Static591\5.12.3_Static\mkspecs\win32-g++\qmake.conf

At C:\Qt\windows-build-qt-static.ps1:178 char:6
+ "@ | Out-File -Append $File -Encoding Ascii
+        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo: OpenError: (:) [Out-File], DirectoryNotFoundException
     + FullyQualifiedErrorID: FileOpenFailure, Microsoft.PowerShell.Commands.OutFileCommand

我的批次文件如下所示:

PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& 'C:\Qt\windows-build-qt-static' 
    -QtSrcUrl 'https://download.qt.io/official_releases/qt/5.12/5.12.3/single/qt-everywhere-src-5.12.3.zip' -QtStaticDir 'C:\Qt\Static591' 
    -MingwDir 'C:\Qt\Tools\mingw730_32' -QtVersion '5.12.3_Static'

相關內容