summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qpluginloader.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-07-07 23:53:54 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-07-08 22:18:56 +0200
commita2779192eec649a15b909cd9becade7eb0bda34e (patch)
treeded99c03d7a02c2ea6c417bb45c964e5609d4025 /src/corelib/plugin/qpluginloader.cpp
parent60550f8acc4f9d742f6ef7cb027f0ed3e2d5e42a (diff)
qmake: Use utimensat on macOS when propagating mtime during install
macOS only claims to conform to POSIX.1-2001, but has had utimensat since macOS 10.13. By enabling the utimensat code path, using stat.st_mtimespec as input, we get nanosecond precision when qmake installs files. Without this the tst_qmake::install_files tests fails due to the source file having a sub second timestamp -- 2023-07-31 15:58:12.468 -- while the installed does not: 2023-07-31 15:58:12.000. The reason this test passes in the CI right now is probably because the source file archive we use to pass test sources to the test machines does not support the same level of precision. Pick-to: 6.8 Change-Id: I6ca7a2a2f9e71981814cbf496aa55717b3a3f74f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/plugin/qpluginloader.cpp')
0 files changed, 0 insertions, 0 deletions