Skip to content

lbingasd/qt-heif-image-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qt6 image 插件去读Apple .heic文件格式

依赖

libheif 编译

You can build and install libheif using the vcpkg dependency manager: git clone https://github.com/Microsoft/vcpkg.git 安装保存路径形如:C:\code\vcpkg\installed\x64-windows

cd vcpkg
./bootstrap-vcpkg.bat
./vcpkg integrate install
./vcpkg install libheif

编译 qt-heif-image-plugin

修改src内的cmake 关于libheif存储路径
$ mkdir build
$ cd build
$ cmake ..
$ make

使用

拷贝依赖只QT 图片插件目录

C:\Qt\6.5.3\msvc2019_64\plugins\imageformats

qheif.dll
qheifd.dll
qheifd.pdb

拷贝libheif 依赖文件至运行程序目录下

clang_rt.asan_dynamic-x86_64.dll
heif.dll
libde265.dll
libx265.dll

About

Qt HEIC 图片读取插件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published