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

            Bug ID: 447111
           Summary: 0.10.5 fails to build with Qt 5.12
           Product: lattedock
           Version: 0.10.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: mvourla...@gmail.com
          Reporter: wba...@tmo.at
  Target Milestone: ---

Compiler errors:
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:
In member function 'void
Latte::PlasmaExtended::PanelBackground::updateMaxOpacity(Plasma::Svg*)':
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:124:16:
error: 'class QImage' has no member named 'convertTo'
         center.convertTo(QImage::Format_ARGB32_Premultiplied);
                ^~~~~~~~~
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:
In member function 'void
Latte::PlasmaExtended::PanelBackground::updateRoundnessFromMask(Plasma::Svg*)':
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:171:16:
error: 'class QImage' has no member named 'convertTo'
         corner.convertTo(QImage::Format_ARGB32_Premultiplied);
                ^~~~~~~~~
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:
In member function 'void
Latte::PlasmaExtended::PanelBackground::updateRoundnessFromShadows(Plasma::Svg*)':
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:339:16:
error: 'class QImage' has no member named 'convertTo'
         corner.convertTo(QImage::Format_ARGB32_Premultiplied);
                ^~~~~~~~~
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:
In member function 'void
Latte::PlasmaExtended::PanelBackground::updateRoundnessFallback(Plasma::Svg*)':
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:500:16:
error: 'class QImage' has no member named 'convertTo'
         corner.convertTo(QImage::Format_ARGB32_Premultiplied);
                ^~~~~~~~~
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:
In member function 'void
Latte::PlasmaExtended::PanelBackground::updateShadow(Plasma::Svg*)':
/home/abuild/rpmbuild/BUILD/latte-dock-0.10.5/app/plasma/extended/panelbackground.cpp:572:16:
error: 'class QImage' has no member named 'convertTo'
         border.convertTo(QImage::Format_ARGB32_Premultiplied);
                ^~~~~~~~~

According to the Qt docs, QImage::convertTo() was introduced in Qt 5.13...

Maybe it would be possible to use QImage::convertToFormat() instead? (at least
when compiling with Qt < 5.13)
Apparently the only difference is that this returns a copy of the QImage
instead of modifying it directly.

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

Reply via email to