| Summary: | [kdesrc-build] [kf6] Spectacle build errors in VideoPlatformWayland.cpp | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Kyle Devir <kyle.devir> |
| Component: | General | Assignee: | Noah Davis <noahadvs> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | kde, kyle.devir, nate, nicolas.fella |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | git-master | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | build.log with full output | ||
Spectacle isn't actually building against Qt6 in your build (In reply to Nicolas Fella from comment #1) > Spectacle isn't actually building against Qt6 in your build Hmmmmm. If that's the case... then consider this invalid. You can close it then. Turns out from speaking with another tester, I might have somehow missed something in my kdesrc-build config, so not everything is building against Qt6. There wasn't anything obvious, so I wasn't sure what was happening, until they showed me their kdesrc-build config file. Was somehow missing -DQT_MAJOR_VERSION=6 -DBUILD_WITH_QT6=ON in cmake-options. |
Created attachment 159475 [details] build.log with full output SUMMARY /run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp: In member function ‘virtual QStringList VideoPlatformWayland::suggestedExtensions() const’: /run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp:81:64: error: invalid initialization of reference of type ‘const QByteArray&’ from expression of type ‘PipeWireBaseEncodedStream::Encoder’ 81 | for (const QByteArray &enc : m_recorder->suggestedEncoders()) { | ^ /run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp: In member function ‘virtual void VideoPlatformWayland::setExtension(const QString&)’: /run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp:108:32: error: cannot convert ‘const char [7]’ to ‘PipeWireBaseEncodedStream::Encoder’ 108 | m_recorder->setEncoder("libvpx"); | ^~~~~~~~ | | | const char [7] In file included from /run/media/valmar/DataSSD/KDE/usr-Plasma6-20230605-1835/include/KPipeWire/pipewirerecord.h:11: /run/media/valmar/DataSSD/KDE/usr-Plasma6-20230605-1835/include/KPipeWire/pipewirebaseencodedstream.h:69:29: note: initializing argument 1 of ‘void PipeWireBaseEncodedStream::setEncoder(Encoder)’ 69 | void setEncoder(Encoder encoder); | ~~~~~~~~^~~~~~~ /run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp:110:32: error: cannot convert ‘const char [8]’ to ‘PipeWireBaseEncodedStream::Encoder’ 110 | m_recorder->setEncoder("libx264"); | ^~~~~~~~~ | | | const char [8] SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.240.0 Qt Version: 6.5.1 Kernel Version: 6.3.5-arch1-1-custom (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7B85 System Version: 1.0