Shadow build of Qt 4.7.2 on Windows fails
For some reason I am unable to create a shadow build of Qt 4.7.2 on Windows 7, 32-bit, using Visual C++ 2008.
I've used shadow builds to successfully build both Windows CE/Mobile and Windows builds from the same source tree in the past (using Qt 4.6.3, 4.7.0 and 4.7.1), but with 4.7.2 all attempts fail with the following message:
@tmp\moc\debug_shared\moc_linearlayout.cpp(10) : fatal error C1083: Cannot open i
nclude file: '../../../../../../../../../qt-everywhere-opensource-src-4.7.2/exam
ut.h': No such file or directory@
The file does exists, though, which makes me think this could be a problem with the length of the relative file name, or maybe the number of relative directories in the path. But then, I should not be the only one with this problem. Surely, I'm not the only one using shadow builds to build Qt 4.7.2 for Windows CE/Mobile (according to the instructions in http://doc.qt.nokia.com/4.7-snapshot/install-wince.html )?
Apparently this is a known bug (QTBUG-16443), and the only work-around seems to be to build without the examples (configure -nomake examples).