3

我有 mingw48_32 的 Qt Creator 5.2.0(MSVC 2010,32 位)。我正在尝试为我的应用程序制作安装程序,但我无法编译 binarycreator。我从官方链接下载源代码 当我运行项目时,只显示带有 .o 的文件而没有 .exe 文件。显示以下错误:

c:/qt/qt5.2.0/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -linstaller

在那之后,还有更多的错误,但我想如果我解决这个问题,它们也会被修复。以下是以下内容:

collect2.exe: error: ld returned 1 exit status
Makefile.Release:84: recipe for target 'bin\binarycreator.exe' failed
mingw32-make[1]: *** [bin\binarycreator.exe] Error 1
mingw32-make[1]: Leaving directory 'C:/Qt/Installer/installer-framework-installer-framework/tools/build-binarycreator-Desktop_Qt_5_2_0_MinGW_32bit-Release'
makefile:34: recipe for target 'release' failed
mingw32-make: *** [release] Error 2
20:30:45: The process "C:\Qt\Qt5.2.0\Tools\mingw48_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project binarycreator (kit: Desktop Qt 5.2.0 MinGW 32bit)
When executing step 'Make'

如果any1可以帮助我,请。

4

1 回答 1

5

要为您的应用程序构建安装程序,无需费心编译安装程序框架,只需使用预编译的。

它包含以下文件 [ /bin ]:

  • 归档生成程序
  • 二进制创建者.exe
  • 安装程序库.exe
  • 重新生成程序

还有一些例子,这里是下载 1.4.0 版本的链接 http://download.qt-project.org/official_releases/qt-installer-framework/1.4.0/

于 2014-01-20T17:15:43.047 回答