https://bugs.kde.org/show_bug.cgi?id=463933
Bug ID: 463933
Summary: Missing charts (qtcharts dependency) in fractions
activity
Classification: Applications
Product: gcompris
Version: git master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
When I launch the new fraction activity, no chart is displayed on the screen,
only a fraction. So the activity makes no sense. (The help file says ‘A shape
split in equal parts is displayed on screen.‘, but no shape is shown.)
On the terminal, I found this error message:
qrc:/gcompris/src/activities/fractions_create/PieChart.qml:7:1: module
"QtCharts" is not installed
After I installed the libqt5-qtcharts-imports package on my system (openSUSE
Tumbleweed), everything works correctly (a pie chart is shown).
So this bug is really about the build system. I can build GCompris without
having libqt5-qtcharts-imports installed, and there are no errors or warnings
indicating this, only a non-functioning activity.
STEPS TO REPRODUCE
1. Build GCompris without the Qt Charts library installed (using the cmake
command).
2. Start the fraction activity
OBSERVED RESULT
Not chart displayed.
EXPECTED RESULT
When running cmake, there should be an error that the Qt Charts library is
missing.
(Alternatively, the two fraction activities should be automatically disabled
due to a missing dependency. But I prefer an error, as it is easy to overlook
disabled activities.)
SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230102
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.1-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7673
System Version: 1.0
--
You are receiving this mail because:
You are watching all bug changes.