Summary: | QMimeDatabase: Error loading internal MIME data | ||
---|---|---|---|
Product: | [Unmaintained] Craft | Reporter: | george fb <georgefb899> |
Component: | Core | Assignee: | Hannah von Reth <vonreth> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jb, kde-windows, me, mutlaqja, vpinon |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=439868 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
george fb
2020-11-22 16:36:07 UTC
I can confirm this bug is also affecting us in Kdenlive and breaks several core parts of the application. This issue appeared in Qt 5.15.1's Craft version build on the 5th of november. Previous builds of Qt 5.15.1 in Craft did not have this issue. Hello, On my side my test app does find the mime database only if the exe is in CraftRoot/bin, in which there is a data/mime folder holding interesting data. From the error message, this appens if qt has been built with "mimetype_database" option, which maybe is not enabled in qt installer version (https://codereview.qt-project.org/c/qt/qtbase/+/263548/26/src/corelib/mimetypes/qmimeprovider.cpp) I can confirm this bug as well, it's affecting KStars KNewStuff download in Windows 10. This is causing a lot of grief for our end users. I filed a bug report here: https://bugs.kde.org/show_bug.cgi?id=434033 Vincent THANK YOU! I copied the mime folder from CraftRoot/bin/data to KStars and it worked! I find out that KStars recipe was blacklisting mime directory. I removed that and now will test again. A possibly relevant merge request was started @ https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/253 Git commit 21bcc9ddec7a0f306f3de4876fd5c2513982dc0c by Hannah von Reth. Committed on 04/11/2021 at 17:31. Pushed by vonreth into branch 'master'. Fix build in mimedb A bug in the generation script dropped all \r from the compressed resource, corrupting the blob. A +11 -0 libs/qt5/qtbase/.qt-5.15.2/fixe_compressed_mime_data_win.diff M +1 -1 libs/qt5/qtbase/qtbase.py https://invent.kde.org/packaging/craft-blueprints-kde/commit/21bcc9ddec7a0f306f3de4876fd5c2513982dc0c |