I downloaded the qt-opensource-windows-x86-mingw48_opengl-5.2.1.exe

installed also the source.

Compiling MinGW:

  • cd C:\QtSDK\5.2.1\Src\qtbase\qmake
  • make
  • Return: make: *** No targets specified and no makefile found. Stop.

In that folder is the correct one for copilar Qt?

有帮助吗?

解决方案

No, that is not the correct folder.

You have to run configure from the root of the source directory. This will generate the necessary Makefiles. Then you execute make. Detailed instructions are available on the Qt project website:

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

Be warned, the Qt build is quite lengthy.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top