有关Qt 32和64位
来源:互联网 发布:机顶盒有必要买吗 知乎 编辑:程序博客网 时间:2024/06/05 05:39
(Please note that there are only 32-bit binary builds of Qt available from TrollTech. Because of this, in order to run Qt in 64-bit, Qt must be manually built on windows in both 32-bit and 64-bit binary builds.Qt官方网站上只发布了32位Qt库,因此如果要运行64位Qt库的话,需要自己在windows系统下编译64位Qt库)
原文中介绍了32位和64位Qt的编译方法。32位编译方法网上资料很多,这里不再赘述,32位Qt库也可以直接从Qt官方网站下载(如qt-win-opensource-4.7.0-vs2008,安装后即可使用),免去了编译Qt的时间。下面是编译64位版本的步骤:
1、 First extract the Qt zip file to a directory on your system.首先解压Qt开源文件到64位系统中(win7-X64)。确保X64位编译器已经安装,X64编译器安装参考前篇日志。我机器中解压目录为:H:\QT-X64\qt-everywhere-opensource-src-4.7.1。
2、To make the 64-bit build of Qt, go to Visual Studio 2008->Visual Studio tools in the start menu and click on:Visual Studio 2008 x64 Win64 Command Prompt. 从程序目录中选择Visual Studio 2008->Visual Studio tools->Visual Studio 2008 x64 Win64 Command Prompt,点击打开。
3、In the Command Prompt, go to the 64-bit Qt directory you just extracted.在命令提示行中,定位到你的Qt源文件目录:如cd H:\QT-X64\qt-everywhere-opensource-src-4.7.1。
4、 Once you in the directory, type(定位到Qt目录后,键入如下命令):
configure.exe -qt-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg
This will generate a Makefile. 配置完成后,会生成相应的Makefile文件。
5、Now to start the compilation, run nmake by typing: nmake.
配置完成后,输入nmake命令启动编译。编译时间较长,耐心等待。
6、Once the compilation is complete, then type: nmake install
编译完成后,键入“nmake install”命令完成Qt安装。安装完成后,会得到Qt相应的包含目录(头文件),dll、lib库文件,这是我们最终需要的。
原文中介绍了32位和64位Qt的编译方法。32位编译方法网上资料很多,这里不再赘述,32位Qt库也可以直接从Qt官方网站下载(如qt-win-opensource-4.7.0-vs2008,安装后即可使用),免去了编译Qt的时间。下面是编译64位版本的步骤:
1、 First extract the Qt zip file to a directory on your system.首先解压Qt开源文件到64位系统中(win7-X64)。确保X64位编译器已经安装,X64编译器安装参考前篇日志。我机器中解压目录为:H:\QT-X64\qt-everywhere-opensource-src-4.7.1。
2、To make the 64-bit build of Qt, go to Visual Studio 2008->Visual Studio tools in the start menu and click on:Visual Studio 2008 x64 Win64 Command Prompt. 从程序目录中选择Visual Studio 2008->Visual Studio tools->Visual Studio 2008 x64 Win64 Command Prompt,点击打开。
3、In the Command Prompt, go to the 64-bit Qt directory you just extracted.在命令提示行中,定位到你的Qt源文件目录:如cd H:\QT-X64\qt-everywhere-opensource-src-4.7.1。
4、 Once you in the directory, type(定位到Qt目录后,键入如下命令):
configure.exe -qt-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg
This will generate a Makefile. 配置完成后,会生成相应的Makefile文件。
5、Now to start the compilation, run nmake by typing: nmake.
配置完成后,输入nmake命令启动编译。编译时间较长,耐心等待。
6、Once the compilation is complete, then type: nmake install
编译完成后,键入“nmake install”命令完成Qt安装。安装完成后,会得到Qt相应的包含目录(头文件),dll、lib库文件,这是我们最终需要的。
阅读全文
0 0
- 有关Qt 32和64位
- Qt编译32位和64位程序
- 32位和64位
- 32位和64位
- QT 语言引擎32位与64位
- Qt 32位 64位 调试器问题汇总
- linux 64位系统 NetBeans 编译32位qt程序
- windows 64位QT
- msys2、mingw-w64、GCC 6.2.0 、gdb-7.10.1、Qt 4.8.7、Qt 5.6.1-1、qtcreator 4.0.3 绿色版开发环境 -- 支持32位和64位
- 有关Qt的博客,和技术文献
- 用CMAKE同时配置64位和32位两种版本的QT
- 32位QT程序读取64位系统的注册表中的64位安装软件
- 什么是32位和64位操作系统
- 什么是32位和64位操作系统
- 32位和64位系统
- sizeof 和 strlen (32位.64位)
- 32 位和 64 位 Windows识别
- window7 32位和64位区别
- JS作用域
- 我理解的什么是对象,什么是面向对象。
- Android 使用反射获取系统ID值 com.android.internal.R.id.*
- NYOJ 27-水池数目(简单DFS)
- 运营 Yu 渠道
- 有关Qt 32和64位
- 盒子模型和CSS3的box-sizing属性
- try,catch和finally的执行顺序
- linaCharts开发笔记:面拉伸成体
- 斜率优化
- Lua 删除UTf-8编码中的特殊字符
- day12_01文件
- 牛客网---2016---蘑菇街最大间隔
- leetcode 390. Elimination Game