-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps.qt: Add qtcharts #192
base: master
Are you sure you want to change the base?
Conversation
dd9bb31
to
ab36763
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell, qtopengl and qtopenglwidgets are optional dependencies of qtcharts, not required dependencies. Could you verify?
correct: |
@RytoEX mmh even though qt6OpenGL is not mandatory it seems it builds with Qt6OpenGL and Qt6OpenGLWidgets on default even if the latter are not specified. |
I do see that. We don't currently ship them with OBS Studio itself because they aren't needed. Qt's default configuration is "dynamic OpenGL". The old Qt 5.15 build instructions explain the difference in configuration options. Maybe even though they are considered optional dependencies of Qt Charts, it tries to opportunistically load them? |
Seems to explicitly require The way the logic works is: "If OpenGL support is not disabled, use it". Thus it becomes a hard requirement of QtCharts. We haven't explicitly disabled it so far, but might be required now. |
Are the OpenGL DLLs copied in the obs-studio Qt Charts PR in CMake 3? Does Qt Charts fail to work if the OpenGL DLLs are not in the obs-studio directory? |
I think they might be - we resolve which DLLs to copy by recursively resolving the dependency tree, and I can imagine the following happening:
I would expect the only way to remove that is build Charts explicitly without it, so the dependency doesn't end up in Charts' CMake package file. |
Yes currently i'm copying the qt opengl DLLs in the two stats PRs in obs-studio.
And another similar error ... |
Update |
Update |
QtMultimedia was to be used for accessibility features to play sound effects on certain actions. It wasn't implemented initially because it required Windows Media features that were not installed by default on Windows N systems, and earlier versions of Qt and FFmpeg would crash if they tried to load the necessary libraries. We pushed for changes in those implementations to safely attempt to load the libraries and just never circled back around to implementing the feature on our end. |
This enables building of qtcharts. Signed-off-by: pkv <[email protected]>
Description
This enables building of qtcharts (as well as qtopengl, qtopenglwidgets) on which it depends.
Motivation and Context
This is a companion to other PRs in obs-studio enabling stats charts for SRT [1] & maybe regular stats.
[1] obsproject/obs-studio#9027
How Has This Been Tested?
Builds locally on windows and passes CI on my fork.
Types of changes
Checklist: