filemetadatadatedisplaytest: Build and pass with < Qt5.10
ClosedPublic

Authored by michaelh on Apr 10 2018, 4:54 PM.

Details

Summary

QFile::setFileTime was introduced in Qt5.10

Fixes build failures in CI of D11242

Test Plan

#if QT_VERSION < QT_VERSION_CHECK(5, 99, 0)
make && make test

#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0)
make && make test

Diff Detail

Repository
R824 Baloo Widgets
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
michaelh created this revision.Apr 10 2018, 4:54 PM
Restricted Application added a project: Baloo. · View Herald TranscriptApr 10 2018, 4:54 PM
michaelh requested review of this revision.Apr 10 2018, 4:54 PM
ngraham added inline comments.Apr 10 2018, 4:55 PM
autotests/filemetadatadatedisplaytest.cpp
36

20?

Maybe remove the conditional and always use the linux-way?

michaelh updated this revision to Diff 31828.Apr 10 2018, 4:57 PM
michaelh edited the summary of this revision. (Show Details)
  • Fix typo
michaelh marked an inline comment as done.Apr 10 2018, 4:58 PM
michaelh edited the summary of this revision. (Show Details)Apr 11 2018, 7:48 AM
michaelh updated this revision to Diff 31864.Apr 11 2018, 10:37 AM
  • Camelcase variable names

+1, but someone else must approve.

Seems ok for me too.

Dolphin also fails to build, because of D11242.
Unless someone objects, comments or formally accepts, I'll land this in 2hrs.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 11 2018, 7:11 PM
This revision was automatically updated to reflect the committed changes.