Bug 414175

Summary: QtWebEngine module seems to be missing from flatpak Kde Sdk 5.13
Product: [Developer tools] Qt/KDE Flatpak Runtime Reporter: Joris Goosen <joris.spamtrap>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: peter.eszlari
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Joris Goosen 2019-11-15 14:01:23 UTC
SUMMARY
WebEngine module no longer seems to be included in org.kde.Sdk.

To clarify, we use flatpak to distribute our software (JASP: https://jasp-stats.org/) and because it is based on Qt we use the kde runtime.
This worked perfectly fine with 5.12 and that is what we use for our current release for which the manifest can be seen here: https://github.com/flathub/org.jaspstats.JASP

I am however now trying to update the flatpak to 5.13 because we need some features from there and instead of our software building like before I now get the following error message:
"Project ERROR: Unknown module(s) in QT: webengine"

And I've taken a look at the manifest used to build the Sdk and it does seem to include QtWebEngine, so what went wrong there?

I've tried the current/new version of our manifest (https://github.com/jasp-stats/jasp-desktop/blob/041b01533e8b5308c03a41d2dfcb2712de96f2ff/Tools/flatpak/org.jaspstats.JASP.json) with both 5.12 and 5.13.

If I use 5.12 then there is no error about a module being unknown but it stops working after some time as I try to include headers from 5.13.

So it really seems to me that there is something wrong in the 5.13 Sdk.



STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Joris Goosen 2019-11-15 14:03:36 UTC
Sorry for not removing the superfluous template stuff btw.
Comment 2 Aleix Pol 2019-11-15 14:05:42 UTC
This is a known issue we have been trying to solve.
We don't have a solution as of today.
Comment 3 Joris Goosen 2019-11-15 14:38:49 UTC
Is there already another issue where I can track your process?
It would be rather a pain if we would have to downgrade all the 5.13 stuff we're already using...
Comment 4 Peter Eszlari 2019-11-24 09:19:18 UTC
+1 from me

(FreeCAD 0.19 uses QtWebEngine too)
Comment 5 Aleix Pol 2019-12-09 11:49:47 UTC
Working on it, a BaseApp should be available soon https://github.com/flathub/flathub/pull/1287
Comment 6 Joris Goosen 2019-12-09 12:25:12 UTC
A great, I'll subscribe to the PR on github then.
Comment 7 Aleix Pol 2019-12-12 10:15:43 UTC
io.qt.qtwebengine.BaseApp should be available:
https://github.com/flathub/io.qt.qtwebengine.BaseApp
Comment 8 Joris Goosen 2019-12-12 13:38:53 UTC
Nice work, I'll check it out soon.