Bug 490427

Summary: Could not find plugin kf5/parts/kigpart when start kig
Product: [Applications] kig Reporter: Tong Chen <tomzhic>
Component: generalAssignee: David E. Narvaez <david.narvaez>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tong Chen 2024-07-18 01:49:40 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

I'm testing kig compiled from the master source code of github.  When I start the program in my terminal, it says like this:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
kf.coreaddons: "Could not find plugin kf5/parts/kigpart"
Segmentation fault (core dumped)

but the kigpart plugin is actually located at :
/usr/local/lib64/plugins/kf5/parts/kigpart.so

Feeling like this is a version matching issue, but I'm not sure.
The code is built with kf5 in rockylinux 8, i.e. centos 8 or redhat 8.

The kig version can get from the kig_version.h in kig source code base from github:
  1 // This file was generated by ecm_setup_version(): DO NOT EDIT!                                                                                           
  2                                                                                  
  3 #ifndef KIG_VERSION_H                                                            
  4 #define KIG_VERSION_H                                                            
  5                                                                                  
  6 #define KIG_VERSION_STRING "24.07.70"                                            
  7 #define KIG_VERSION_MAJOR 24                                                     
  8 #define KIG_VERSION_MINOR 7                                                      
  9 #define KIG_VERSION_PATCH 70                                                     
 10 #define KIG_VERSION ((24<<16)|(7<<8)|(70))                                       
 11                                                                                  
 12 #endif 

STEPS TO REPRODUCE
1.  download source code(master.zip) from github
2.  build it with cmake, and make install in rockylinux 8
3.  just start kig in terminal, with kig or kig &

OBSERVED RESULT
error msg of the cmd:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
kf.coreaddons: "Could not find plugin kf5/parts/kigpart"
Segmentation fault (core dumped)

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: rockylinux 8 + kf5-kparts-devel-5.96.0-1.el8.x86_64
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: kf5-kparts-devel-5.96.0-1.el8.x86_64
Qt Version: qt5

ADDITIONAL INFORMATION