我正在使用Mingw-w64构建 QT 5.8.0 源 . 我按照"Build Qt with MinGW for a x64 (x86_64) target"部分所述的步骤here进行操作 .

http://download.qt.io/official_releases/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.zip下载QT 5.8.0源并解压缩到文件夹E:\ QTMinGW64 \ qt-everywhere-opensource-src-5.8.0

https://sourceforge.net/projects/mingw-w64/files/latest/download下载MinGW-w64-install.exe并将其安装在E:\ QTMinGW64 \ mingw-w64-v6.3.0 \ x86_64-6.3.0-posix-seh-rt_v5-rev1下

我还在E:\ QTMinGW64 \ mingw-w64-v6.3.0 \ tools下安装perl,jom和fart

我创建了一个构建目录E:\ QTMinGW64 \ qt-5.8.0-x64-build .

  • 调用了cmd.exe

  • 执行以下操作:

set PATH=E:\QTMinGW64\mingw-w64-v6.3.0\x86_64-6.3.0-posix-seh-rt_v5- rev1\mingw64\bin;E:\QTMinGW64\tools\perl\bin;E:\QTMinGW64\tools\jom;E:\QTMinGW64\tools\fart;C:\Windows\System32;

set LANG=en

cd E:\IMRI\QTMinGW64\qt-5.8.0-x64-build

  • 在qt source下运行configure命令
    > E:\QTMinGW64\qt-everywhere-opensource-src-5.8.0\configure -platform win32-g++ -opensource -debug -debug-and-release -confirm-license -static -opengl desktop -openssl -plugin-sql-odbc -plugin-sql-sqlite -nomake examples -nomake tests

configure 执行一段时间然后停止 checking for gold linker 并出现一个窗口弹出窗口,显示错误 ld.gold.exe has stopped working .

我究竟做错了什么?请帮忙 .

到目前为止我尝试了什么:

  • 以管理员身份运行cmd.exe

  • 停止了防病毒软件