[KPhotoAlbum] error compiling in Ubuntu 16.04 and Mint 18.3

Robert Krawitz rlk at alum.mit.edu
Sun Dec 17 22:56:41 CET 2017


On Sun, 17 Dec 2017 22:49:00 +0100, Johannes Zarl-Zierl wrote:
> Hi Andreas,
>
> The relevant difference is the version of Qt: OpenSUSE leap 42.1 still has Qt 5.5 (leap 42.2 and Mint 18.3 probably as well).
>
> I've patched KPA to compile with Qt 5.5 again (we already have similar patches in a few places).
>
> Since you have probably more experience with OpenSUSE leap than me: Do you know which version of leap introduces a newer Qt version?
> For now, supporting Qt 5.5 does not pose a problem, but eventually it might become a burden...

42.1 is outside of its support window, IIRC.

42.2 uses Qt 5.6.

> On Sonntag, 17. Dezember 2017 21:36:03 CET Andreas Schleth wrote:
>> Hi everybody,
>> 
>> when I try to build KPA from git master in those two systems, make fails
>> with this error:
>> 
>> /home/as/kpa/kphotoalbum/DB/ImageInfo.cpp: In member function ‘bool
>> DB::ImageInfo::hasCategoryInfo(const QString&, const StringSet&) const’:
>> /home/as/kpa/kphotoalbum/DB/ImageInfo.cpp:130:19: error: ‘const
>> StringSet {aka const class QSet<QString>}’ has no member named ‘intersects’
>>       return values.intersects( m_categoryInfomation[key] );
>>                     ^
>> CMakeFiles/kphotoalbum.dir/build.make:2534: die Regel für Ziel
>> „CMakeFiles/kphotoalbum.dir/DB/ImageInfo.cpp.o“ scheiterte
>> 
>> It builds nicely in openSuSE Leap 42.2. The main difference seems to be
>> the version of gcc:
>> 
>> opensuse: gcc (SUSE Linux) 4.8.5
>> 
>> ubuntu 16.04 (and Mint): gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
>> 
>> Any ideas?
-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton


More information about the KPhotoAlbum mailing list