Skip to content

Commit

Permalink
fix: fix build error with CEF bersion below 125
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Jan 12, 2025
1 parent c871b5c commit 0948703
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/details/QCefViewPrivate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ QCefViewPrivate::createCefBrowser(QCefView* view, const QString& url, const QCef
// OSR mode
windowInfo.SetAsWindowless(0);
} else {
#if CEF_VERSION_MAJOR >= 125
// https://github.com/chromiumembedded/cef/issues/3685
windowInfo.runtime_style = CEF_RUNTIME_STYLE_ALLOY;
#endif
// create CEF browser parent window
auto windowInitialSize = q_ptr->size();
if (setting) {
Expand Down

0 comments on commit 0948703

Please sign in to comment.