在Windows上从源代码编译Qt5.2.1

问题描述 投票:0回答:1

我下载了

qt-opensource-windows-x86-mingw48_opengl-5.2.1.exe

还安装了源代码。

编译MinGW:

  • cd C:\QtSDK\5.2.1\Src\qtbase\qmake

  • make

  • 返回:
    make: *** No targets specified and no makefile found. Stop.

该文件夹中是 copilar 的正确文件夹

Qt

qt mingw
1个回答
3
投票

不,这不是正确的文件夹。

您必须从源目录的根目录运行

configure
。 这将生成必要的 Makefile。 然后执行
make
。 详细说明可在 Qt 项目网站上找到:

http://qt-project.org/doc/qt-5/windows-building.html

请注意,Qt 构建相当漫长。

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.