Bug 477390 - Doesn't build
Summary: Doesn't build
Status: RESOLVED FIXED
Alias: None
Product: audiotube
Classification: Applications
Component: general (show other bugs)
Version: 24.01.75
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jonah Brüchert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-22 21:56 UTC by Antonio Rojas
Modified: 2023-12-05 22:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2023-11-22 21:56:35 UTC
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.
Comment 1 Antonio Rojas 2023-12-05 22:28:17 UTC
Fixed with qcoro 0.10