DefaultLocalizationStrategy.cpp(327) : “error C2001: newline in constant” in building 4.8.0
As I installed 4.8.0 from qt-win-opensource-4.8.0-vs2008.exe on my machine and tried to build it, nmake stopped with this error message;
DefaultLocalizationStrategy.cpp(327) : “error C2001: newline in constant”
It was built on English Windows 7 SP1(64-bit) with VS9, but I set "Language for non-Unicode programs" to Japanese as I work for some clients from Japan.
I switched it back to English and re-run the configuration(configure -platform win32-msvc2008 -debug-and-release) and then nmake. It went through without any error.
This is done by using "Control Panel" -> "Region and Language", and pressing "Change System Locale" on "Administrative" Tab to choose English as "Current System Locale". You have to reboot the PC.
After nmake is completed successfully, I switched it back to Japanese and 4.8.0 is working well so far.
This may not be a very common problem but I just wanted to share my experience for those who had failed by the same issue.
I've exactly the same problem. And now testing your solution !! Hope it works for me as well.
Works for me... Thank you...