fix: make hwdata truly a runtime dependency
ClosedPublic

Authored by dvratil on Feb 28 2020, 8:27 PM.

Details

Summary

Followup to comments in D10041

Diff Detail

Repository
R108 KWin
Branch
arcpatch-D27729
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 23814
Build 23832: arc lint + arc unit
dvratil created this revision.Feb 28 2020, 8:27 PM
Restricted Application added a project: KWin. · View Herald TranscriptFeb 28 2020, 8:27 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
dvratil requested review of this revision.Feb 28 2020, 8:27 PM
ngraham accepted this revision.Mar 1 2020, 3:37 AM
This revision is now accepted and ready to land.Mar 1 2020, 3:37 AM
zzag added a subscriber: zzag.Mar 2 2020, 7:15 AM
zzag added inline comments.
plugins/platforms/drm/edid.cpp
149

Can you please explain why we can't use HWDATA_PNPIDS_FILE?

zzag added inline comments.Mar 2 2020, 7:43 AM
plugins/platforms/drm/edid.cpp
149

ok, nvm.

davidedmundson requested changes to this revision.Mar 2 2020, 7:44 AM
davidedmundson added a subscriber: davidedmundson.
davidedmundson added inline comments.
plugins/platforms/drm/edid.cpp
149

You can't hardcode /use/share

If we do go runtime only, please use QStandardPaths

Though I don't yet fully understand the need to avoid the compile time switch, there were comments on what to fix in the last patch.

This revision now requires changes to proceed.Mar 2 2020, 7:44 AM

So what is the preferred solution? Make it a compile-time dependency, or runtime, with using QStandardPaths?

Where are we with this? KWin is still failing to build for me in master and has been for weeks. I have hwdata installed and available. What else is needed? How do we fix this?

So what is the preferred solution? Make it a compile-time dependency, or runtime, with using QStandardPaths?

Either works

dvratil updated this revision to Diff 77824.Mar 17 2020, 2:08 PM
  • Use QStandardPaths
zzag accepted this revision.Mar 17 2020, 2:10 PM
davidedmundson accepted this revision.Mar 17 2020, 2:20 PM
This revision is now accepted and ready to land.Mar 17 2020, 2:20 PM
This revision was automatically updated to reflect the committed changes.