Bug 487845

Summary: Add build options and dependency detection for X11 and wayland
Product: [Frameworks and Libraries] MpvQt Reporter: onigino <onigino>
Component: GeneralAssignee: george fb <georgefb899>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.0.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: mpvqt-1.0.0 X11 optional patch

Description onigino 2024-05-31 17:33:09 UTC
Created attachment 170020 [details]
mpvqt-1.0.0 X11 optional patch

Although probably uncommon today, its reasonable to expect more and more people to build qtbase 6.x without X11 or sometimes without wayland

here is a patch to detect and offer build options for X11 and wayland so build don't fail if they don't exist.
Comment 1 george fb 2024-06-01 03:47:22 UTC
Does it not build when X11/Wayland is missing? Does it build but not work/crash?
What are some distros that don't have either X11 or Wayland?