A
A
asurkis2016-06-08 17:56:03
Qt
asurkis, 2016-06-08 17:56:03

How to fix infinite recursion on build with qmake?

When building any project using qmake, the mingw32-make program starts calling itself, and at the beginning of each recursive call, qmake is called.
When the directory %AppData%\QtProject\ is deleted, the project can be built normally once, but after that the error returns
Operating system - - Windows Vista SP1 32-bit
On another computer with a 64-bit seven, everything works out of the box.
Googling did not give anything

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EXL, 2016-06-08
@asurkis

Adjust the time, mingw32-make cyclic calls are mainly due to this.
mingw32-make checks the last modified date of a file against the system date. If it turns out that the change happened "in the future", mingw32-make falls into an infinite loop. For UNIX-like OS, there is a touch utility that corrects the change time. For MS Windows, you need to look at analogues .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question