| Summary: | Doesn't build | ||
|---|---|---|---|
| Product: | [Applications] audiotube | Reporter: | Antonio Rojas <arojas> |
| Component: | general | Assignee: | Jonah Brüchert <jbb> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 24.01.75 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Fixed with qcoro 0.10 |
Version 24.01.75 doesn't build, using qcoro 0.9.0 /build/audiotube/src/audiotube-24.01.75/src/library.cpp: In member function ‘void WasPlayedWatcher::query()’: /build/audiotube/src/audiotube-24.01.75/src/library.cpp:420:19: error: no matching function for call to ‘connect(QFuture<std::optional<SingleValue<bool> > >, WasPlayedWatcher*, void (WasPlayedWatcher::*)(std::optional<SingleValue<bool> >))’ 420 | QCoro::connect(m_library->database().getResult<SingleValue<bool>>("select count(*) > 0 from played_songs where video_id = ?", m_videoId), this, &WasPlayedWatcher::update); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Additionally, this seems to be in a weird semi-ported to Qt6 state: The top-level CMakeLists requires KF6, but it still claims to support both Qt5 and Qt6, so you need to explicitly specify QT_VERSION_MAJOR=6 to make it build.