Solaris10(x86)下编译Qt4.8源码生成64位程序库
1、Qt4.8源码获取
①、 下载Qt4.8源码
下载地址为: Index of /archive/qt
https://download.qt.io/archive/qt/
2、Qt4.8.源码编译
①、 编译工具
- gmake版本
bash-3.2$ gmake --version
GNU Make 3.82
Build for i386-pc-solaris2.10
Copyright (C) 2010 Free Software Foundation, Inc.
- gcc版本
bash-3.2$ gcc --verison
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
②、 编译Qt源码
配置 Qt 构建 进入到Qt
源码目录,执行如下命令:
./configure -platform solaris-g++-64 -opensource -confirm-license -shared -debug -nomake examples -nomake tests -prefix /opt/qt4
输入 License
xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
配置完成
编译
执行 gmake
开始编译。
gmake
编译完成。
安装
执行 gmake install
进行安装。
sudo gmake install
③、 Qt目录结构及验证
动态库位数查询验证