You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILDING.md
+14-12
Original file line number
Diff line number
Diff line change
@@ -11,22 +11,24 @@ Prerequisites
11
11
12
12
Products
13
13
-------
14
-
The "QLVideo" scheme in the Xcode project `QLVideo.xcodeproj` builds the following Products:
14
+
The Xcode project `QLVideo.xcodeproj` builds the following Products:
15
15
16
-
* ffmpeg - The [FFmpeg](http://ffmpeg.org/) libraries. The plugins depend on these.
17
-
* QLVideo.app - Launch Services won't read [Uniform Type Identifiers](http://developer.apple.com/library/mac/documentation/General/Conceptual/DevPedia-CocoaCore/UniformTypeIdentifier.html) from plugin bundles, so this dummy app serves to register the UTIs of the media types that the plugins understand. Should be installed in `/Library/Application Support/QLVideo/`.
18
-
* Video.mdimporter - Spotlight plugin. Should be installed in `/Library/Spotlight/`.
19
-
* Video.qlgenerator - QuickLook plugin. Should be installed in `/Library/QuickLook/`.
20
-
21
-
The `resetmds` and `resetquicklood` post-installation scripts can be run to inform Launch Services, SpotLight and QuickLook respectively of any changes.
16
+
* QuickLook Video.app - App that hosts plugins and registers the
17
+
[Uniform Type Identifiers](http://developer.apple.com/library/mac/documentation/General/Conceptual/DevPedia-CocoaCore/UniformTypeIdentifier.html)
* qlgenerator - QuickLook plugin provides static previews and, on macOS versions prior to Catalina, thumbnails.
21
+
* thumbnailer - QuickLook plugin provides thumbnails on macOS Catalina and later.
22
+
* benchmark - Simple executable for benchmarking, not included in the app.
23
+
* ffmpeg - The [FFmpeg](http://ffmpeg.org/) libraries. The plugins depend on these. Also builds a standalone version of the `ffprobe` executable for bug reporting.
24
+
* aom - Support for the [AV1](https://en.wikipedia.org/wiki/AV1) codec. ffmpeg depends on this.
22
25
23
26
Debugging
24
27
---------
25
-
The Spotlight and QuickLook processes cannot be debugged on 10.11 and later due to System Integrity Protection. Copy `mdimport` or `qlmanage` from `/usr/local` to the project directory, and use this copy to debug the plugin.
26
-
27
-
Packaging
28
-
---------
29
-
The [Packages](http://s.sudre.free.fr/Software/Packages/about.html) project `QLVideo.pkgproj` packages the above targets into a flat `.pkg` file for distribution. The `.pkg` file includes the post-installation scripts.
28
+
All plugins produce output in the system log. Use the filter `subsystem:uk.org.marginal.qlvideo` in the Console app.
29
+
* mdimporter - Invoke for debugging with `mdimport -n -d3 <testfile>`
30
+
* glgenerator - Invoke for debugging with `qlmanage -p <testfile>`
31
+
* thumbnailer - Invoke for debugging with `qlmanage -t -f2 <testfile>`
0 commit comments