Remove false dependency on VirtualKeyboard#88
Remove false dependency on VirtualKeyboard#88FlorentRevest merged 1 commit intoAsteroidOS:masterfrom
Conversation
|
The goal is also for runtime checking. i.e. to ensure that the QML module to avoid runtime issues (https://api.kde.org/ecm/module/ECMFindQmlModule.html) That's why I think this makes sense to have, but maybe we should keep it as a warning as this check doesn't make much sense when cross compiling. |
|
The RDEPENDS dependency is still here. Does that meet the purpose you have in mind? |
|
Yes, QML modules in general are only needed at runtime and the check is there to make the packager not forget about it. I would very much keep the check. I'm not in favor of removing the check, we should just fix it for Qt5 (or not bother and go Qt6 only). |
|
I just checked, and Qt5VirtualKeyboard does seem to provide the module with the name we're requesting it for. That is the same we're requesting: Then again perhaps 2.1 is not the right version, I'm not sure where the version comes from and how I should know what version to request. |
|
At some point, upstream ECM fixed this by skipping the call to qmlplugindump when cross compiling KDE/extra-cmake-modules@ba7492f However, they only fixed the Qt6 path. The Qt5 path still calls The version of extra-cmake-modules we ship https://github.com/AsteroidOS/meta-asteroid/blob/master/recipes-devtools/cmake/extra-cmake-modules_git.bb#L6 lacks the above fix but even if we bump it up It's still broken on Qt5. |
|
Let's not bother fixing up upstream ECM since no one cares about Qt5 anymore anyway. Let's move that line to the Qt6 block, next to the And bump our |
We can also keep the check a warning for Qt5 as it was before. Making it required for Qt6 seems sensible to me as well. |
|
Yep, sgtm |
|
That sounds fine to me! |
With Qt5, the VirtualKeyboard ECM does not correctly detect the VirtualKeyboard, but it does with Qt6, so this moves that check to be Qt6 only. Signed-off-by: Ed Beroset <beroset@ieee.org>
e6b78ce to
78e2bb4
Compare
|
OK, I've updated this PR according to my understanding of the consensus view. Thanks, all! |
|
I'd still do the check on Qt5 too, just without making it required there. Qt5 still has that runtime dependency and it's still good to inform the packager about it, even if lying about it's requiredness. |
|
I think at this point we just want to unblock the build to actually start the Qt6 migration system-wide so i'll just merge this as is. Let's not overthink the Qt5 case since it's going away soon anyway. |
This application doesn't need the VirtualKeyboard ECM to compile, so it is removed. See also AsteroidOS/meta-asteroid#232 for the corresponding bitbake recipe change.