Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Qt安装程序框架问题编译binarycreator_Qt_Frameworks_Installation_Qt Installer - Fatal编程技术网

Qt安装程序框架问题编译binarycreator

Qt安装程序框架问题编译binarycreator,qt,frameworks,installation,qt-installer,Qt,Frameworks,Installation,Qt Installer,我有QtCreator 5.2.0(MSVC2010,32位)和mingw48_32。 我正在尝试为我的应用程序制作安装程序,但我无法编译binarycreator。 我从网上下载源代码 当我运行project时,只显示带有.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: cann

我有QtCreator 5.2.0(MSVC2010,32位)和mingw48_32。 我正在尝试为我的应用程序制作安装程序,但我无法编译binarycreator。 我从网上下载源代码 当我运行project时,只显示带有.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'

如果有任何1可以帮助我,请。

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

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

  • archivegen.exe
  • binarycreator.exe
  • installerbase.exe
  • repogen.exe
还有一些示例,下面是下载1.4.0版的链接

看起来您正在混合编译器。MSVC与MinGWI不兼容,因为它只有一个编译器MinGW。我不知道为什么在Qt版本中写msvc。我不用它。其他项目运作良好。