KDAB / hotspot

The Linux perf GUI for performance analysis.
4.05k stars 250 forks source link

error: no viable conversion from 'const QVector<KDDockWidgets::Core::DockWidget *>' to 'const QVector<KDDockWidgets::DockWidgetBase *>' #617

Closed yurivict closed 4 months ago

yurivict commented 4 months ago
/wrkdirs/usr/ports/devel/hotspot/work/hotspot-1.4.1/src/mainwindow.cpp:265:36: error: no viable conversion from 'const QVector<KDDockWidgets::Core::DockWidget *>' to 'const QVector<KDDockWidgets::DockWidgetBase *>'
    m_resultsPage->initDockWidgets(restored);
                                   ^~~~~~~~
/usr/local/include/qt5/QtCore/qvector.h:72:12: note: candidate constructor not viable: no known conversion from 'const Vector<Core::DockWidget *>' (aka 'const QVector<KDDockWidgets::Core::DockWidget *>') to 'const QVector<DockWidgetBase *> &' for 1st argument
    inline QVector(const QVector<T> &v);
           ^
/usr/local/include/qt5/QtCore/qvector.h:75:5: note: candidate constructor not viable: no known conversion from 'const Vector<Core::DockWidget *>' (aka 'const QVector<KDDockWidgets::Core::DockWidget *>') to 'QVector<DockWidgetBase *> &&' for 1st argument
    QVector(QVector<T> &&other) noexcept : d(other.d) { other.d = Data::sharedNull(); }
    ^

log

Version: 1.4.1 kddockwidgets-2.0.0 clang-17 FreeBSD 14.0

milianw commented 4 months ago

kddw 2 is not compatible with 1.x used by hotspot 1.4, use kddw 1.7 or compile hotspot from master