Qt安装程序框架(Qt Installer Framework)

编程入门 行业动态 更新时间:2024-10-23 19:26:02
Qt安装程序框架(Qt Installer Framework)

我有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 -linstaller

After 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.exe

also 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/

更多推荐

本文发布于:2023-07-31 19:24:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1347368.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:安装程序   框架   Qt   Installer   Framework

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!