Qt and KDE Frameworks for C-Play Master UI
Current C-Play source requires Qt 6.6 or newer and KDE Frameworks 6.0 or newer. Use Qt6/KF6 for current builds. The Qt5/KF5 instructions below apply to older C-Play source versions only; the current CMake build has no BUILD_CPLAY_WITH_QT6 switch.
Read Craft on Windows and follow the guide with instruction below.
Option 1 (default): Build Qt6/KF6 for C-Play Master UI
Use Visual Studio 2022 as compiler. (However MSYS / MinGW will be installed later anyway, if you compile/install FFmpeg + MPV + JACK)
Packages to install (via Craft)
Run command
craft libs/qt6/qtbase libs/qt6/qtdeclarative libs/qt6/qtquick3d libs/qt6/qt5compat libs/qt6/qtwebview extra-cmake-modules kconfig kcoreaddons kfilemetadata ki18n kiconthemes kio kirigami kcolorscheme kwindowsystem kxmlgui kio-extras breeze breeze-icons qqc2-breeze-style qqc2-desktop-style zxing-cpp
These packages provide the following dependencies:
- Qt6Core (within Base)
- Qt6DBus (within Base)
- Qt6Qml (within Declarative)
- Qt6Quick (within Declarative)
- Qt6QuickControls2 (within Declarative)
- Qt6Quick3D (within Quick3D)
- Qt6Core5Compat (within Core5Compat)
- Qt6WebView (within WebView, which also installs Qt WebEngine on Windows)
- ExtraCmakeModules
- KF6Config (kconfig)
- KF6CoreAddons (kcoreaddons)
- KF6FileMetaData (kfilemetadata)
- KF6I18n (ki18n)
- KF6IconThemes (kiconthemes)
- KF6KIO (kio)
- KF6Kirigami2 (kirigami)
- KF6ColorScheme (kcolorscheme)
- KF6WindowSystem (kwindowsystem)
- KF6XmlGui (kxmlgui)
- Kio-extras (kio-extras)
- Breeze
- Breeze icons (breeze-icons)
- Breeze widgets style (qqc2-breeze-style)
- QQC2-Desktop-Style
Qt WebView shows the presenter view and movie view in a C-Play window (CMake option BUILD_CPLAY_WITH_WEBVIEW). Without it, C-Play opens these views in a browser app window instead. See Build from code → Web views. Qt WebEngine is a large package to build; leave out libs/qt6/qtwebview if you do not need the C-Play window.
Optional QR-code support:
- ZXing-Cpp (for QR-code guided presentations)
Option 2 (older, not available from C-Play version 2.1 and newer): Build Qt5/KF5 for C-Play Master UI
Use Visual Studio 2019 as compiler. (However MSYS / MinGW will be installed later anyway, if you compile/install FFmpeg + MPV + JACK)
Note, Visual Studio 2019 is needed for Qt5 with Craft. You can use Visual Studio 2022 for C-Play even if these dependencies require VS2019. C-Play has currently been tested with Qt 5.15 LTS. It should be the latest QT5 in the Craft source currently (2024-05-21).
Packages to install (via Craft)
Run command
craft libs/qt5/qtbase libs/qt5/qtdeclarative libs/qt5/qtquickcontrols2 libs/qt5/qttools extra-cmake-modules kconfig kcoreaddons kfilemetadata ki18n kiconthemes kio kirigami kio-extras breeze breeze-icons qqc2-breeze-style qqc2-desktop-style
These packages provide the following dependencies:
- Qt5Core (within Base)
- Qt5DBus (within Base)
- Qt5Qml (within Declarative)
- Qt5Quick (within Declarative)
- Qt5QuickControls2 (qtquickcontrols2)
- ExtraCmakeModules
- KF5Config (kconfig)
- KF5CoreAddons (kcoreaddons)
- KF5FileMetaData (kfilemetadata)
- KF5I18n (ki18n)
- KF5IconThemes (kiconthemes)
- KF5KIO (kio)
- KF5Kirigami2 (kirigami)
- KF5XmlGui (kxmlgui)
- Kio-extras (kio-extras)
- Breeze
- Breeze icons (breeze-icons)
- Breeze widgets style (qqc2-breeze-style)
- QQC2-Desktop-Style