2015-01-12 104 views
2

所以我試圖構建Qt靜態5.3.2。該構建正在通過我在http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MSVC發現的windowspowershell腳本實現自動化。我得到的錯誤我不完全理解,因爲我已經驗證了源文件中是否存在以下文件,並且檢查了它們是否已被複制到正確的目錄並且它們在那裏。構建Qt靜態錯誤5.3.2

copy /y C:\Qt\Static\src\qt-everywhere-opensource-src-5.3.2\qtbase\examples\widgets\widgets.pro C:\Qt\Static\5.3.2\examp 
    les\widgets 
      1 file(s) copied. 
    mingw32-make[3]: Target 'install' not remade because of errors. 
    mingw32-make[3]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase/examples/widgets' 
    Makefile:415: recipe for target 'sub-widgets-install_subtargets' failed 
    mingw32-make[2]: *** [sub-widgets-install_subtargets] Error 2 

copy /y C:\Qt\Static\src\qt-everywhere-opensource-src-5.3.2\qtbase\examples\README C:\Qt\Static\5.3.2\examples 
     1 file(s) copied. 
mingw32-make[2]: Target 'install' not remade because of errors. 
mingw32-make[2]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase/examples' 
Makefile:78: recipe for target 'sub-examples-install_subtargets' failed 
mingw32-make[1]: *** [sub-examples-install_subtargets] Error 2 

xcopy /s /q /y /i C:\Qt\Static\src\qt-everywhere-opensource-src-5.3.2\qtbase\doc\global C:\Qt\Static\5.3.2\doc\global 
59 File(s) copied 
mingw32-make[1]: Target 'install' not remade because of errors. 
mingw32-make[1]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.3.2/qtbase' 
Makefile:75: recipe for target 'module-qtbase-install_subtargets' failed 
mingw32-make: *** [module-qtbase-install_subtargets] Error 2 
mingw32-make: Target 'install' not remade because of errors. 
+0

在此之前你沒有得到任何錯誤嗎? –

+0

@SergioMartins - 不,我CTRL-F錯誤和那些是我發現的三個。 – law

+0

@law您是否找到了解決方案?我剛剛在5.7.0中遇到同樣的問題 –

回答

-1

可能是你沒有安裝ActivePerl或Python。嘗試一下。它幫助了我。