Skip to content
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

Add support for OBS Browser Source Qt Widgets #1034

Merged
merged 9 commits into from
Mar 13, 2023
Merged

Conversation

Xaymar
Copy link
Contributor

@Xaymar Xaymar commented Mar 10, 2023

Explain the Pull Request

Adds support for adding OBS Browser Source Qt Widgets for future features, like embedded documentation, properly updating credits, and similar. The possibilities of a working browser integration are endless - might even be able to use it for better UI controls somehow.

Completion Checklist

  • This has been tested on the following platforms:
    • MacOS 10.15
    • MacOS 11
    • MacOS 12
    • Ubuntu 20.04
    • Ubuntu 22.04
    • Windows 10
    • Windows 11
  • The copyright headers and license files have been updated.
  • I will maintain this for the forseeable future, and have added myself to CODEOWNERS.

@Xaymar Xaymar force-pushed the feature/obs-browser-widget branch from 73e15c3 to 7db8266 Compare March 10, 2023 18:58
@Xaymar
Copy link
Contributor Author

Xaymar commented Mar 10, 2023

No idea what AppleClang wants from me here. MSVC, GCC and Clang appear happy with it, but AppleClang decides to be special yet again.

@Xaymar Xaymar force-pushed the feature/obs-browser-widget branch 6 times, most recently from 151bf77 to 89a0512 Compare March 13, 2023 11:44
Provides us with an easy and clean way to use Browser Sources as a Qt enabled widget.
…land

The obs-browser module does not work well on Wayland, so removing it there appears to be the best option for now.
When a QCefWidget is alone and all by itself, no layout updates are performed on the "window". This causes a problem where it just stays in place, instead of moving with the rest of the elements. The fix to this appears to be to just add a different Qt widget into the layout.

Looks stupid, is stupid, but works anyway. Qt is weird.
Qt's CMake integration does not pass the C++ standard to AutoMoc, resulting in weird parsing issues (see https://bugreports.qt.io/browse/QTBUG-73263).
MacOS complains that QCefWidget is an undefined type, while all other compilers are fine.
@Xaymar Xaymar force-pushed the feature/obs-browser-widget branch from 89a0512 to 29b2baa Compare March 13, 2023 17:38
@Xaymar Xaymar marked this pull request as ready for review March 13, 2023 17:52
@Xaymar Xaymar merged commit 7ed6262 into root Mar 13, 2023
@Xaymar Xaymar deleted the feature/obs-browser-widget branch March 13, 2023 17:53
@Xaymar Xaymar added this to the 0.12 milestone Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant