我有mtw48_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可以帮助我,请。
I have Qt Creator 5.2.0 (MSVC 2010, 32 bit) with mingw48_32. I am trying to make an installer for my app and i cant compile binarycreator. I download source code from Official Link When i run project, there show only files with .o and none .exe files. The following error is showing:
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 -linstallerAfter that, there are more errors, but i think if i fix this they will be fixed too. Here are what is following:
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'If any1 can help me, please.
最满意答案
要为您的应用程序构建安装程序,请不要编译安装程序框架,只需使用预编译的安装程序。
它包含以下文件[/ bin]:
archivegen.exe binarycreator.exe installerbase.exe repogen.exe还有一些例子,这里是下载1.4.0版本的链接http://download.qt-project.org/official_releases/qt-installer-framework/1.4.0/
To build an installer for your Application don't bother compile the installer-framework just use the pre-compiled one.
it contains the following files [ /bin ]:
archivegen.exe binarycreator.exe installerbase.exe repogen.exealso some examples, and here is the link to download the version 1.4.0 http://download.qt-project.org/official_releases/qt-installer-framework/1.4.0/
更多推荐
发布评论