mingw是什么软件(mingw使用教程)

来源:国外服务器 在您之前已被浏览:1 次
导读:目前正在解读《mingw是什么软件(mingw使用教程)》的相关信息,《mingw是什么软件(mingw使用教程)》是由用户自行发布的知识型内容!下面请观看由(国外主机 - www.2bp.net)用户发布《mingw是什么软件(mingw使用教程)》的详细说明。
笨笨网美国主机,w ww.2 b p .n e t

2. 阅读源代码文件夹中的README,了解编译所需环境。

3. 设置环境变量及Path

添加环境变量_QTDIR 值为D:
QtStaticLibraryCompilation5.12.6

并在Path中添加路径:

%_QTDIR%qt-everywhere-src-5.12.6

%_QTDIR%qt-everywhere-src-5.12.6qtbasebin

%_QTDIR%qt-everywhere-src-5.12.6gnuwin32bin

%_QTDIR%Toolsmingwmingw730_64

4. 以管理员身份运行windows命令行。

“gcc -v” 检查gcc版本及路径(指定的工具包路径)

“perl -v” 检查perl版本

“python” 检查python版本,Ctrl + z退出

“sh” 确保此命令不执行,以免影响ming32-make

5. 切换目录 cd /d D:
QtStaticLibraryCompilation5.12.6Buildqt_build_mingw730_64_static

配置:

D:QtStaticLibraryCompilation5.12.6qt-everywhere-src-5.12.6configure -static -debug-and-release -opensource -confirm-license -platform win32-g++ -sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype –compile-examples=no -nomake tests -nomake examples -skip qt3d -no-opengl -prefix D:QtStaticLibraryCompilation5.12.6Librarymingw730_64_static

6. mingw32-make -j8 进行编译,根据机器的情况,分配jobs数量。

7. mingw32-make install

8. 添加Qt Version,见“Qt Version添加”文档。

笨笨网美国主机,w ww.2 b p .n e t
提醒:《mingw是什么软件(mingw使用教程)》最后刷新时间 2025-03-21 11:17:24,本站为公益型个人网站,仅供个人学习和记录信息,不进行任何商业性质的盈利。如果内容、图片资源失效或内容涉及侵权,请反馈至,我们会及时处理。本站只保证内容的可读性,无法保证真实性,《mingw是什么软件(mingw使用教程)》该内容的真实性请自行鉴别。