简体   繁体   English

在Windows上使用cmake编译64位qt(从源)

[英]Compiling 64 bit qt (from source) using cmake on windows

I failed to compile qt shared library(64 bit) on windows using various versions of cmake. 我无法使用各种版本的cmake在Windows上编译qt共享库(64位)。 I think am making some mistakes in selecting cmake options. 我认为在选择cmake选项时犯了一些错误。 Can any one point me to some tutorials or tell the steps to be followed. 谁能指出我一些教程或告诉我要遵循的步骤。 Thanks in advance. 提前致谢。 (I can't use visual studio for this.) (我不能为此使用Visual Studio。)

This post worked for me : 这篇文章对我有用:

@ECHO OFF
rmdir /Q /S C:\Qt\qt-git-build
mkdir C:\Qt\qt-git-build
cd C:\Qt\qt-git-build
..\qt-git\configure -opensource -mp -qt-zlib
nmake
nmake qdoc3
editbin /STACK:0x200000 bin\qdoc3.exe
nmake docs
nmake install
nmake clean
cd ..

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM