Bug 466013 - qml-module-qt-labs-platform not listed as dependency resulting in crash on launch if not installed manually
Summary: qml-module-qt-labs-platform not listed as dependency resulting in crash on la...
Status: RESOLVED FIXED
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: 22.12.2
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-18 17:31 UTC by pepijnvangijzen
Modified: 2023-02-20 11:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pepijnvangijzen 2023-02-18 17:31:29 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Run Filelight
2. It will crash without starting up
3. 

OBSERVED RESULT
program launch cancelled with this message:
QQmlApplicationEngine failed to load component
qrc:/ui/main.qml:11:1: module "Qt.labs.platform" is not installed
Failed to load QML dialog.
Afgebroken

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Debian 11, Gnome 43.2
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: 5.102.0-1
Qt Version: 5

ADDITIONAL INFORMATION
Comment 1 pepijnvangijzen 2023-02-18 17:47:11 UTC
i made a typo, my version is debian 12
Comment 2 Harald Sitter 2023-02-19 15:28:11 UTC
Git commit f0b2dcd635795779872351ddc2946b7ef24dc70f by Harald Sitter.
Committed on 19/02/2023 at 15:27.
Pushed by sitter into branch 'master'.

find qml dep on Qt.labs.platform

M  +1    -0    CMakeLists.txt

https://invent.kde.org/utilities/filelight/commit/f0b2dcd635795779872351ddc2946b7ef24dc70f
Comment 3 Harald Sitter 2023-02-20 11:07:29 UTC
Git commit 64985d39b09cc8c17593c8e1ee089eb8d59e14ef by Harald Sitter.
Committed on 20/02/2023 at 11:07.
Pushed by sitter into branch 'release/22.12'.

find qml dep on Qt.labs.platform
(cherry picked from commit f0b2dcd635795779872351ddc2946b7ef24dc70f)

M  +1    -0    CMakeLists.txt

https://invent.kde.org/utilities/filelight/commit/64985d39b09cc8c17593c8e1ee089eb8d59e14ef