Bug 360796

Summary: Difficulties to compile with plugins and how to solve them
Product: [Applications] kphotoalbum Reporter: Andreas Schleth <schleth_es>
Component: generalAssignee: KPhotoAlbum Bugs <kphotoalbum-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: johannes, schleth_es
Priority: NOR    
Version First Reported In: 4.7.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andreas Schleth 2016-03-20 21:10:57 UTC
This is not strictly a bug report.  At best a suggestion to add to the compile docs.

I tried to compile 4.7.1 under openSuSE Leap42 and ran into lots of difficulties with the plugins (kipi, kface and marble).  The program itself compiled OK, but the plugins were missing, although I had all the *-devel-packages and libs installed.  Fiddling with the environment variables and of (beware!) the include paths in the source files only got me deeper and deeper into a mess.

The error messages of cmake or during make all hinted to "path/file" not found for some includes or config-files.  Nothing definite.

Finally I found the reason:  some plugins were already present on my system in the qt5-flavour.  And this breaks it.  It seems having qt4 and qt5 libs on the system makes building things unpleasant at least.

Solution: downgrade kipi, marble and kface to the qt4-versions.  

This is for openSuSE only:  In Yast delete/uninstall the corresponding qt5-libraries (for these plugins only).  Then the downgrade is provided as one of the solutions to the dependency mismatch.

Please fee free to point me to the proper place, if this is the wrong place to post/discuss.

Reproducible: Always
Comment 1 Johannes Zarl-Zierl 2016-03-22 23:03:44 UTC
Hi Andreas,

Discussion is usually done best on the mailing list, but the bugtracker is fine in this case.

Btw. I'm currently working on porting KPhotoAlbum to Qt5/KF5, so this annoyance should be over soon(ish).
Comment 2 Johannes Zarl-Zierl 2016-12-06 23:22:38 UTC
The specific problems you encountered should be history now (simply because KPhotoAlbum is now ported to Qt5/KDE Frameworks.

I'm marking this as resolved if you don't mind...