FAILED: [...]timestamp
-
I'm trying to build Qt on windows. I have multiple machines with Windows 10 and Visual Studio 2017 and 2019. On all systems when ever I try to build any Qt 6 library, I tried 6.0.4, 6.1.0, 6.1.1, 6.2.3, 6.30, 6.3.1, 6.4.0, the build runs for a while and then fails with the error message:
FAILED: qtdeclarative/src/quicklayouts/QuickLayouts_autogen/timestamp
It always fails at a different file, but it is always a timestamp file.
Has anyone any idea how to fix this or what causes this problem? -
Hi @matthiash, what version of CMake are you using? I see a number of references online to this happening due to a bug in CMake 3.20... could you be experiencing that same bug?
Cheers.
-
That's a bit more complicated. First in my path is a custom CMake installation. I tried both 3.17 and 3.24 to no avail. But Visual Studio ships with an integrated CMake version. Specifically cmake version 3.20.21032501-MSVC_2. Perhaps, somehow, Qt uses that one? I tried to figure this out but I'm still unsure.