Re: QuickLook Plugins
Re: QuickLook Plugins
- Subject: Re: QuickLook Plugins
- From: Eric Gorr <email@hidden>
- Date: Fri, 16 Nov 2007 17:21:12 -0500
First, I would suggest taking this over to the Quicklook-dev mailing
list.
Have you tried taking a look at lsregister -dump to see what it can
tell you about what the OS is finding and where?
I might suggest cleaning up your launch services database first with:
lsregister -kill -r -domain local -domain system -domain user
and then launching your application once and then checking the output
of lsregister -dump.
Where is your QuickLook plugin located exactly within the Application
bundle?
p.s. I actually have two alias' setup in my .bashrc file to make enter
those two lsregister command easier:
alias lsdump='lsregister -dump'
alias lsreset='lsregister -kill -r -domain local -domain system -
domain user'
On Nov 16, 2007, at 2:33 PM, Steven W Riggins wrote:
Despite the great docs and template project, I can't get my
quicklook plugin to be recognized.
I have added the following to my app's info.plist:
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeDescription</key>
<string>Sophie Author Book (Bundle)</string>
<key>UTTypeIdentifier</key>
<string>org.sophieproject.sophie.book.author.bundle</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>com.apple.ostype</key>
<string>Spbf</string>
<key>public.filename-extension</key>
<array>
<string>spbf</string>
</array>
</dict>
</dict>
</array>
I have the following in the plist for the qlgenerator:
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>QLGenerator</string>
<key>LSItemContentTypes</key>
<array>
<string>org.sophieproject.sophie.book.author.bundle</string>
</array>
</dict>
</array>
I have copied my app, I have run qlmanage -r, I have set up xcode to
use qlmanage as the active executable, I have changed all of my
filenames to .m to use Objective-C (maybe that is the issue?) but
quicklook never reports my qlgenerator as a type, and nothing ever
gets called.
What voodoo am I missing?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden