This issue is actually caused by the macOS 10.15.4 won't call the function QuickLookGeneratorPluginFactory of custom plugin which is not same as the macOS 10.14.6;
git clone https://github.com/Nyx0uf/qlImageSize.git
cd qlImageSize
tar xJvf images-samples.txz
(decompress sample image in the project)open qlImageSize.xcodeproj
- Xcode top menu: Product -> Scheme -> Edit Scheme
- add breakpoint in
QuickLookGeneratorPluginFactory
of main.m - Xcode top menu: Product - Run, break point is hit with webp on macOS 10.15.4 (if not, try to restart Xcode, god bless Apple)
- but if replace webp to png, the break point is not hit with png on macOS 10.15.4.:
- but repeating the same steps wrote above on macOS 10.14.6, I find the break point is hit with both webp and png on macOS 10.14.6. It works well.
As sabrex wrote the macOS 10.15.4 is not calling the custom quick look plugin with the common image file type such as png / jpg.
macOS 10.14.6 | macOS 10.15.4 | |
---|---|---|
webp | ✅ | ✅ |
png | ✅ | ❌ |