Bug 434650 - [Master] Palettize fails to load on startup (due to new spinboxes?)
Summary: [Master] Palettize fails to load on startup (due to new spinboxes?)
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Filters (show other bugs)
Version: git master (please specify the git hash!)
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Deif Lou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-20 03:34 UTC by tomtomtomreportingin
Modified: 2021-03-20 08:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomtomtomreportingin 2021-03-20 03:34:13 UTC
SUMMARY
The palettize filter plugin fails to load up when initializing Krita, with the following errors:
Loading plugin "/home/name/kritadev/install/lib/x86_64-linux-gnu/kritaplugins/kritapalettize.so" failed,  "Cannot load library /home/name/kritadev/install/lib/x86_64-linux-gnu/kritaplugins/kritapalettize.so: (/home/name/kritadev/install/lib/x86_64-linux-gnu/kritaplugins/kritapalettize.so: undefined symbol: _ZN22KisDoubleSliderSpinBox12valueChangedEd)"

STEPS TO REPRODUCE
1. Start Krita.
2. Go to Filters -> Map -> ...

OBSERVED RESULT
No Palettize.

EXPECTED RESULT
Palettize shouldn't fail to load.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Tiar 2021-03-20 04:35:46 UTC
(I hope I got the email of the person responsible for the spinboxes right...)
Comment 2 Deif Lou 2021-03-20 08:55:02 UTC
It's a bit strange. In my local branch used in the MR the filter loads ok. But in the latest master it doesn't...
Comment 3 Halla Rempt 2021-03-20 08:59:29 UTC
Git commit 609f28d3c970c6e30d43ccee8ac74b4e5d233f09 by Halla Rempt.
Committed on 20/03/2021 at 08:58.
Pushed by rempt into branch 'master'.

Fix overloads in sig/slot connections

QDoubleSpinbox defines double, not qreal

M  +2    -2    plugins/filters/palettize/palettize.cpp

https://invent.kde.org/graphics/krita/commit/609f28d3c970c6e30d43ccee8ac74b4e5d233f09