Cannot build Qt 4.8.1 using nmake
Hello. I’m attempting an out-of-source build of Qt 4.8.1 with a target of visual studio 2010 and failing on two fronts.
The first problem is that the Makefile is being output to the source directory, not the build directory. A Makefile of some sort is put in the build directory, but it’s recursive and just ends up launching nmake processes on itself until I cancel it. I have had this problem randomly with out-of-source builds in the past and the solution is to copy the Makefile it puts in the source directory into the build directory and usually that’s sufficient. However now I get a new error:
- NMAKE : fatal error U1073: don't know how to make 'FORCE'
The configure line I use for this is:
Picking a line from the Makefile which includes “FORCE” (of which there are many) looks like this:
- sub-tools-bootstrap-qmake-all: FORCE
- @$(CHK_DIR_EXISTS) src\tools\bootstrap\ $(MKDIR) src\tools\bootstrap\
Tried that, and had problems getting the source:
I have NFI what state my copy of the repo is in now.