[Qt-creator] qmake/moc goes into endless loop when files have a timestamp in the future

Jaco Naude naude.jaco at gmail.com
Thu Mar 11 08:01:19 CET 2010


Hi

I'm not sure if the issue is with creator or with the qt tools (qmake
& moc) so I'm giving both lists a try.

I accidentally set my system time to a date in the future and only
realized it a day or so later. After I changed back the time and try
to build my project, the tools goes into a endless loop. See the the
qmake output below for an example:

Running build steps for project ObjManagementLib...
Starting: c:/tools/qt/2010.01/qt/bin/qmake.exe
D:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/ObjManagementLib.pro
-spec win32-g++ -r
Reading D:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source/source.pro
Reading D:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/examples/examples.pro
Exited with code 0.
Starting: C:/Tools/Qt/2010.01/mingw/bin/mingw32-make.exe -w
mingw32-make: Entering directory
`D:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib'
cd source/ && C:/Tools/Qt/2010.01/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'
c:/tools/qt/2010.01/qt/bin/qmake.exe -spec
c:/Tools/Qt/2010.01/qt/mkspecs/win32-g++ -win32 -o Makefile source.pro
mingw32-make[1]: Leaving directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'
mingw32-make[1]: Entering directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'
c:/tools/qt/2010.01/qt/bin/qmake.exe -spec
c:/Tools/Qt/2010.01/qt/mkspecs/win32-g++ -win32 -o Makefile source.pro
mingw32-make[1]: Leaving directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'
mingw32-make[1]: Entering directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'
c:/tools/qt/2010.01/qt/bin/qmake.exe -spec
c:/Tools/Qt/2010.01/qt/mkspecs/win32-g++ -win32 -o Makefile source.pro
mingw32-make[1]: Leaving directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'
mingw32-make[1]: Entering directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'
c:/tools/qt/2010.01/qt/bin/qmake.exe -spec
c:/Tools/Qt/2010.01/qt/mkspecs/win32-g++ -win32 -o Makefile source.pro
mingw32-make[1]: Leaving directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'
mingw32-make[1]: Entering directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'
c:/tools/qt/2010.01/qt/bin/qmake.exe -spec
c:/Tools/Qt/2010.01/qt/mkspecs/win32-g++ -win32 -o Makefile source.pro
mingw32-make[1]: Leaving directory
`d:/ScinericSoftware/Products/Qtilities/trunk/libraries/ObjManagementLib/source'

I think it is because some files have a timestap in the future. Is
there a way to get around this? Or should I manually edit all files
with the date set back? I tried to set the attributes of all files
with the date set back but that does not do the trick.

Using:
Qt Creator 1.3.0
Qt 4.6.1

Thanks for your help,
Jaco



More information about the Qt-creator-old mailing list