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:
@C:\Qt\4.8.1>..\4.8.1-src\configure -debug-and-release -opensource -fast -no-qt3support -platform win32-msvc2010 -qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -no-dsp -no-vcproj -no-incredibuild-xge -no-webkit -mp@
Picking a line from the Makefile which includes "FORCE" (of which there are many) looks like this:
@$(CHK_DIR_EXISTS) src\tools\bootstrap\ $(MKDIR) src\tools\bootstrap
cd src\tools\bootstrap\ && $(QMAKE) C:\Qt\4.8.1-src\src\tools\bootstrap\bootstrap.pro -spec C:\Qt\4.8.1\mkspecs\win32-msvc2010 -o $(MAKEFILE)@