Most media files used in the HIG are generated from QML files.
The command line tool qmlgrabber is used to create media from the source files.
Source files are located in
If you are new to KDE devlopment, make sure to read how to become a kde developer first.
- Install some tools with your distro's package manager:
sudo pacman -S ffmpeg
Debian, Ubuntu, KDE Neon
sudo apt install ffmpeg
sudo zypper install ffmpeg-4
sudo dnf install ffmpeg
sudo yum install ffmpeg
Clone qmlgrabber source code repository into an empty folder:
git clone https://anongit.kde.org/scratch/mart/qmlgrabber.git cd qmlgrabber qmake PREFIX=~/.local/bin make make install
If you install it in you home directory, make sure you have the installed packages in your path by adding it to your .profile:
echo "PATH=~/.local/bin:\$PATH" >> ~/.profile source ~/.profile
Now you are ready to create media files for the the HIG!
- Change to a directory containing qml source files. E.g.
makemedia.php .to create media files.