https://bugs.kde.org/show_bug.cgi?id=392457

            Bug ID: 392457
           Summary: Tellico 3.1.2 fails to compile with Qt 5.6.2
           Product: tellico
           Version: 3.1.2
          Platform: openSUSE RPMs
               URL: https://build.opensuse.org/build/home:wolfi323:branche
                    s:home:wolfi323:branches:KDE:Extra/openSUSE_Leap_42.3/
                    x86_64/tellico/_log
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ro...@periapsis.org
          Reporter: wba...@tmo.at
  Target Milestone: ---

Created attachment 111704
  --> https://bugs.kde.org/attachment.cgi?id=111704&action=edit
Patch that fixed the compilation

I got compiler errors like this when trying to build the new release on
openSUSE Leap 42.3:
/home/abuild/rpmbuild/BUILD/tellico-3.1.2/src/fetch/allocinefetcher.cpp:379:52:
error: lambda-expression in unevaluated context
   foreach(const QVariant& variant,
resultMap.value(QStringLiteral("genre")).toList()) {
                                                    ^

The reason is the switch from QLatin1String() to QStringLiteral() in that
foreach() statement, which apparently causes problems with Qt 5.6.

I attached a patch that shows all affected places.

It built fine (unmodified) with Qt 5.9 and 5.10, I haven't tried other Qt
versions.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to