[If posting this as a separate question is inappropriate: I tried to append this as a "sub question" to the relevant answer for the original question. However, I could not find out how to do this so I opted for posting it as a fresh question. When I have resolved this question though, I intend to append the answer to the appropriate section of the link in the following paragraph.]
I'm trying to get Qt to work with visual studio 2012 on a Windows 7 professional 64-bit PC. I found some very useful instructions in one of the answers for the question posed at: https://stackoverflow.com/a/16533188/2903608
I am failing at the very last hurdle though, point number 14. When I type in the nmake command:
nmake /I /K
I get this fatal error:
C:\Qt\qt>nmake /I /K /A
Microsoft (R) Program Maintenance Utility Version 11.00.50727.1 Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1064: MAKEFILE not found and no target specified Stop.
C:\Qt\qt>
I have been trying to use Google and Stack Overflow to research a solution to my problem but I'm not having much luck.
The closest specific information on the U1064 fatal error that I can find is here: compiling QT 4,8,0 in windows 7 x64 with visual studio 2010 gives makefile not found It describes checking whether Perl was successfully installed (I got the latest version of ActivePerl) and looking for error messages in the output of configure.exe. This morning I have attempted steps 5 through 14 once more but the outcome is the same and I cannot find any apparent errors in the process to assist me in debugging the problem.
Following the blogspot link (http://thomasstockx.blogspot.co.uk/2011/03/qt-472-in-visual-studio-2010.html) of the above Stack Overflow question (compiling QT 4,8,0 in windows 7 x64 with visual studio 2010 gives makefile not found) suggested that I should include the platform argument when using the configure command which was described in point 12. So I included the argument:
-platform win32-msvc2012
The same information can be found at Qt: http://qt-project.org/doc/qt-4.7/install-win.html. According to that page, if I need to reconfigure and rebuild Qt all I need to do is type "nmake distclean". But if I do that I get another fatal error:
C:\Qt\qt>nmake distclean
Microsoft (R) Program Maintenance Utility Version 11.00.50727.1 Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1073: don't know how to make 'distclean' Stop.
C:\Qt\qt>
So in summary, I think something substantial is missing since nmake cannot find the makefile in the instance of the first fatal error. I'm assuming the makefile should have been produced by the configure action of point 12 but I cannot find any hint there. I am attaching the log files that I have created to capture the output of points 11 and 12 in case I missed anything there.
Actually, there are two lines at the end of configure.exe that mentioned "Unknown part .." But I am assuming that these refer to modules that are not critical here:
[..] Unknown part demos passed to -nomake. Unknown part webkit passed to -nomake. C:\Qt\qt
List of software (versions)
- Git-1.8.4-preview20130916.exe
- ActivePerl-5.16.3.1603-MSWin32-x64-296746.msi
- rubyinstaller-1.9.3-p448.exe
23/10/2013: EDIT
Apologies, it is not possible to attach files to this website. However, it is possible to use websites such as pastebin.com.
Output from configure.exe: http://pastebin.com/CzHTcJE3
Output from Perl: http://pastebin.com/Hf6hgiwU
As far as I can tell, I can't see any problems reported by configure.exe.