$ supdo apt install cmake extra-cmake-modules qt6-base-dev
$ cmake .. -DQT_MAJOR_VERSION=6 -DQT_VERSION_MAJOR=6
Installing in /usr/local. Run /home/shnoulle/Documents/TEMP/material-decoration/build/prefix.sh to set the environment for material-decoration.
– Setting build type to ‘Debug’ as none was specified.
– Looking for GLIBC
– Looking for GLIBC - found
– Performing Test _OFFT_IS_64BIT
– Performing Test _OFFT_IS_64BIT - Success
– Performing Test HAVE_DATE_TIME
– Performing Test HAVE_DATE_TIME - Success
– Performing Test HAVE_STDATOMIC
– Performing Test HAVE_STDATOMIC - Success
– Found WrapAtomic: TRUE
– Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
– Found WrapOpenGL: TRUE
– Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version “0.5.0”)
– Found WrapVulkanHeaders: /usr/include
– Could NOT find KF6I18n (missing: KF6I18n_DIR)
– Could NOT find KF6I18n: found neither KF6I18nConfig.cmake nor kf6i18n-config.cmake
CMake Error at /usr/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find KF6 (missing: I18n)
Reason given by package: Missing the following required components: I18n
Call Stack (most recent call first):
/usr/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindKF6.cmake:98 (find_package_handle_standard_args)
CMakeLists.txt:29 (find_package)
– Configuring incomplete, errors occurred!