https://github.com/freeslave/qt-sprite-image-plugin
QImageIOPlugin for Qt providing support for Half-Life and Quake *.spr files
https://github.com/freeslave/qt-sprite-image-plugin
half-life halflife quake
Last synced: about 1 year ago
JSON representation
QImageIOPlugin for Qt providing support for Half-Life and Quake *.spr files
- Host: GitHub
- URL: https://github.com/freeslave/qt-sprite-image-plugin
- Owner: FreeSlave
- Created: 2020-07-30T18:54:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-30T18:55:03.000Z (almost 6 years ago)
- Last Synced: 2025-01-22T14:45:46.731Z (over 1 year ago)
- Topics: half-life, halflife, quake
- Language: C++
- Homepage:
- Size: 38.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**QImageIOPlugin** for Qt that provides support for Half-Life and Quake *.spr files.
This plugin is especially useful when using with KDE.
After plugin is installed Gwenview should be able to show sprite images.
Note: [qhl-mimetypes](https://github.com/FreeSlave/qhl-mimetypes) must be installed in order to provide MIME type definitions, so KDE apps could handle the sprite files correctly. Look at [OBS packages](https://software.opensuse.org//download.html?project=home%3AFreeSlave&package=qhl-mimetypes).
Another note: To enable sprite previews in Dolphin you must enable "Half-Life sprites" in Dolphin General/Previews settings.
### Build and install
This method will install plugin globally on the system (for all users).
sudo apt-get install cmake qtbase5-dev extra-cmake-modules
mkdir -p build && cd build
export QT_SELECT=5
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
To uninstall type:
sudo make uninstall