Find QuickPrivate component for WPE Qt API#62564
Conversation
|
EWS run on previous version of this PR (hash 1398c49) Details |
|
It looks like the WebKit SDK doesn't have that package installed. You'll need to fix that too separately before we can land this. That being said, why is this needed? If the SDK doesn't have the private package and it builds, I don't understand why this dependence is needed. But I'm not familiar with Qt at all, so I would appreciate your insight. |
1398c49 to
71051ab
Compare
|
EWS run on previous version of this PR (hash 71051ab) Details |
I changed the relevant configure code to find Qt6QuickPrivate only when Qt6Quick module does not provide the target Qt::QuickPrivate. |
csaavedra
left a comment
There was a problem hiding this comment.
Can we make this version dependant instead or at least document in the comment since which version this is needed? This way we can remove the check once we start depending on a newer version.
71051ab to
f4b51a9
Compare
|
EWS run on current version of this PR (hash f4b51a9) Details |
I changed the relevant configure code to find Qt6QuickPrivate only when Qt6Quick module does not provide the target Qt::QuickPrivate.
Yes, after investigating, this change is introduced in Qt 6.9. |
https://bugs.webkit.org/show_bug.cgi?id=312064 Reviewed by Claudio Saavedra. In newer versions of Qt6, Qt6Quick module no longer includes the Qt6QuickPrivate, so we need to manually find the Qt6QuickPrivate module. Compatibility kept for older versions by only requesting to find Qt6QuickPrivate when the Qt::QuickPrivate is not yet available by just finding Qt6Quick. Configure-time only change, no runtime tests needed. * Source/cmake/OptionsWPE.cmake: Canonical link: https://commits.webkit.org/311087@main
f4b51a9 to
6998260
Compare
|
Committed 311087@main (6998260): https://commits.webkit.org/311087@main Reviewed commits have been landed. Closing PR #62564 and removing active labels. |
|
Backported into (...and included in the 2.52.2 release, published a few minutes ago) |
🛠 vision
6998260
f4b51a9
🛠 win🧪 wpe-wk2🧪 win-tests🧪 ios-wk2-wpt🧪 api-mac-debug🧪 gtk-wk2🧪 mac-AS-debug-wk2🛠 playstation