Ecrire un plugin pour QuickLook, comment faire ?

wiskywisky Membre
10:40 modifié dans API AppKit #1
Bonjour à  tous,

J'ai un fichier contenant des données organiser avec XML. Je cherche maintenant à  faire un plugin pour quicklook. Les infos afficher dans quicklook sont contenu dans le fichier.

J'aimerais comprendre comment on génère l'aperçu! J'ai cru comprendre que cela passais par une image.
J'ai essayer les exemples d'Apple mais ça ne marche pas ! je comprend plus rien !

donc si quelqu'un peu m'expliquer (en français) la marche à  suivre, je suis preneur.
:why?: :why?: :why?: :why?: :why?: :why?: :why?: :why?: :why?: :why?:

Réponses

  • CéroceCéroce Membre, Modérateur
    10:40 modifié #2
    Tu pourrais sans doute commencer par lire la doc (même en diagonale) ?
    http://developer.apple.com/documentation/UserExperience/Conceptual/Quicklook_Programming_Guide
  • wiskywisky Membre
    10:40 modifié #3
    Bas, le problème c'est que je comprend mal l'anglais et la traduction google m'aide pas beaucoup.
    Je suis sur la doc depuis un moment déjà . Mais je n'y arrive pas...  :crackboom:-

    Si une bonne âme veux bien m'aider  :why?:
  • CéroceCéroce Membre, Modérateur
    10:40 modifié #4
    Tu va vraiment devoir parfaire ton anglais... c'est la seule connaissance indispensable pour programmer.


    En attendant, j'ai survolé la doc. Le principe, est que Mac OS appelle ton plug-in pour obtenir une icône (Thumbnail) ou un aperçu (Preview). Le plug-in ne renvoie pas une image, mais dessine dans un graphic context.

    Dans le cas où ton document est enregistré dans un bundle (ce qui n'est pas ton cas), une technique peut être d'y enregistrer une image que le plug-in ira simplement recopier dans le graphic context.

    Ce que tu dois faire:
    http://developer.apple.com/documentation/UserExperience/Conceptual/Quicklook_Programming_Guide/QLImplementationOverview/chapter_5_section_2.html

    Quel est ton soucis exactement ? As-tu vérifié que ton plug-in est bien installé grâce à  qlmanage ? (voir http://developer.apple.com/documentation/UserExperience/Conceptual/Quicklook_Programming_Guide/QLDebugTest/chapter_11_section_2.html)

  • wiskywisky Membre
    novembre 2008 modifié #5
    Voici le code :
    <br />OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options)<br />{<br />&nbsp; &nbsp; NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];<br />	<br />&nbsp; &nbsp; // Create and read the document file<br />&nbsp; &nbsp; MactroniqueFirmwareDocument* document = [[MactroniqueFirmwareDocument alloc] init];<br />	<br />&nbsp; &nbsp; if(![document readFromURL:(NSURL *)url ofType:(NSString *)contentTypeUTI]) {<br />&nbsp; &nbsp; &nbsp; &nbsp; [document release];<br />&nbsp; &nbsp; &nbsp; &nbsp; [pool release];<br />&nbsp; &nbsp; &nbsp; &nbsp; return noErr;<br />		<br />&nbsp; &nbsp; }<br />	<br />	<br />	<br />&nbsp; &nbsp; NSSize canvasSize = [document canvasSize];<br />	<br />&nbsp; &nbsp; // Preview will be drawn in a vectorized context<br />	<br />&nbsp; &nbsp; CGContextRef cgContext = QLPreviewRequestCreateContext(preview, *(CGSize *)&amp;canvasSize, false, NULL);<br />	<br />&nbsp; &nbsp; if(cgContext) {<br />		<br />&nbsp; &nbsp; &nbsp; &nbsp; NSGraphicsContext* context = [NSGraphicsContext graphicsContextWithGraphicsPort:(void *)cgContext flipped:YES];<br />		<br />&nbsp; &nbsp; &nbsp; &nbsp; if(context) {<br />			[NSGraphicsContext saveGraphicsState];<br />			[NSGraphicsContext setCurrentContext:context];<br />			[context saveGraphicsState];<br />			<br />			<br />			<br />			NSRect frameRect = NSMakeRect(0, 0, 128, 128);<br />			NSAffineTransform* xform = [NSAffineTransform transform];<br />			[xform translateXBy:0.0 yBy:frameRect.size.height];<br />			[xform scaleXBy:1.0 yBy:-1.0];<br />			[xform concat];<br />			<br />			NSColor *backColor;<br />			<br />				backColor = [NSColor colorWithCalibratedRed:0.65 green:0.65 blue:0.65 alpha:0.6];<br />			[backColor set];<br />			NSRectFill(frameRect);<br />			<br />			<br />			<br />			<br />			NSString * test = [[NSString alloc] initWithString:@&quot;Test&quot;];<br />			NSMutableDictionary * dico = [[NSMutableDictionary alloc] init];<br />			[dico setObject:[NSFont fontWithName:@&quot;Arial&quot; size:12.0] forKey:@&quot;NSFontAttributeName&quot;];<br />			[dico setObject:[NSColor whiteColor] forKey:@&quot;NSForegroundColorAttributeName&quot;];<br />			[test drawInRect:NSMakeRect(50.0, 50.0, 120.0, 35.0) withAttributes:nil];<br />			<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [document drawDocumentInContext:context];<br />			[NSGraphicsContext restoreGraphicsState];<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />		<br />&nbsp; &nbsp; &nbsp; &nbsp; QLPreviewRequestFlushContext(preview, cgContext);<br />&nbsp; &nbsp; &nbsp; &nbsp; CFRelease(cgContext);<br />		<br />&nbsp; &nbsp; }<br />	<br />&nbsp; &nbsp; [pool release];<br />	<br />	return noErr;<br />}<br />
    



    l'objet document :

    <br /><br />- (BOOL) readFromURL:(NSURL *)url ofType:(NSString *)contentTypeUTI{<br />	document = [[NSDictionary alloc] initWithContentsOfURL:url];<br />	//if(!document) return FALSE;<br />	<br />	return TRUE;<br />	<br />}<br /><br />- (NSSize) canvasSize{<br />	return NSMakeSize(350.0, 250.0);<br />}<br /><br /><br />- (void) drawDocumentInContext:(NSGraphicsContext*)context{<br />	//[context saveGraphicsState];<br />	//NSImage * myImage = [[NSImage alloc] initWithSize:[self canvasSize]];<br />	//[myImage lockFocus];<br />	NSString * test = [[NSString alloc] initWithString:@&quot;Test affichage texte dans un apperçu quicklook&quot;];<br />	NSMutableDictionary * dico = [[NSMutableDictionary alloc] init];<br />	[dico setObject:[NSFont fontWithName:@&quot;Arial&quot; size:12.0] forKey:@&quot;NSFontAttributeName&quot;];<br />	[dico setObject:[NSColor whiteColor] forKey:@&quot;NSForegroundColorAttributeName&quot;];<br />	[test drawInRect:NSMakeRect(50.0, 50.0, 120.0, 35.0) withAttributes:dico];<br />	<br />	//[myImage unlockFocus];<br />	<br />	<br />	<br />	//[context restoreGraphicsState];<br />}<br />
    


    Pour le debug c'est bon, j'y arrive ;)
  • CéroceCéroce Membre, Modérateur
    10:40 modifié #6
    C'est difficile de t'aider sans même savoir ce que fait document.
    Visiblement, rien ne s'affiche, je commencerais par dessiner quelque chose de simple, un carré rouge, par exemple.

    Place aussi des NSLog() pour savoir si tu passes bien dans les différentes conditions et pour savoir ce que renvoie canvasSize.

    Pourquoi n'écris-tu pas simplement:
    QLPreviewRequestCreateContext(preview, (CGSize)canvasSize, false, NULL);
    

  • wiskywisky Membre
    10:40 modifié #7
    document est censé lire le fichier sélectionné et dessiner les données lue dans l'aperçu. Il s'agit de lire un fichier PLIST.

    Voilà  mon code de test et rien ne s'affiche !
    OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options)<br />{<br />    NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];<br />	<br />    // Create and read the document file<br />    Document* document = [[Document alloc] init];<br />	<br />    if(![document readFromURL:(NSURL *)url ofType:(NSString *)contentTypeUTI]) {<br />        [document release];<br />        [pool release];<br />        return noErr;<br />		<br />    }<br />	<br />	<br />	<br />    NSSize canvasSize = [document canvasSize];<br />	<br />    // Preview will be drawn in a vectorized context<br />	<br />    CGContextRef cgContext = QLPreviewRequestCreateContext(preview, *(CGSize *)&amp;canvasSize, false, NULL);<br />	<br />    if(cgContext) {<br />		<br />        NSGraphicsContext* context = [NSGraphicsContext graphicsContextWithGraphicsPort:(void *)cgContext flipped:YES];<br />		<br />        if(context) {<br />			[NSGraphicsContext saveGraphicsState];<br />			[NSGraphicsContext setCurrentContext:context];<br />			[context saveGraphicsState];<br />			<br />			<br />			<br />			NSRect frameRect = NSMakeRect(0, 0, 128, 128);<br />			NSAffineTransform* xform = [NSAffineTransform transform];<br />			[xform translateXBy:0.0 yBy:frameRect.size.height];<br />			[xform scaleXBy:1.0 yBy:-1.0];<br />			[xform concat];<br />			<br />			NSColor *backColor;<br />			<br />				backColor = [NSColor colorWithCalibratedRed:0.65 green:0.65 blue:0.65 alpha:0.6];<br />			[backColor set];<br />			NSRectFill(frameRect);<br />			<br />			<br />			<br />			<br />			NSString * test = [[NSString alloc] initWithString:@&quot;Test&quot;];<br />			NSMutableDictionary * dico = [[NSMutableDictionary alloc] init];<br />			[dico setObject:[NSFont fontWithName:@&quot;Arial&quot; size:12.0] forKey:@&quot;NSFontAttributeName&quot;];<br />			[dico setObject:[NSColor whiteColor] forKey:@&quot;NSForegroundColorAttributeName&quot;];<br />			[test drawInRect:NSMakeRect(50.0, 50.0, 120.0, 35.0) withAttributes:nil];<br />			<br />            //[document drawDocumentInContext:context];<br />			[NSGraphicsContext restoreGraphicsState];<br />        }<br />		<br />        QLPreviewRequestFlushContext(preview, cgContext);<br />        CFRelease(cgContext);<br />		<br />    }<br />	<br />    [pool release];<br />	<br />	return noErr;<br />}
    


    Le code de Document :
    <br />//Pour info : NSDictionary * document;<br />- (id) init{<br />	self = [super init];<br />	<br />	return self;<br />}<br /><br />- (void) dealloc<br />{<br />	<br />	[super dealloc];<br />}<br /><br /><br />- (BOOL) readFromURL:(NSURL *)url ofType:(NSString *)contentTypeUTI{<br />	document = [[NSDictionary alloc] initWithContentsOfURL:url];<br />	//if(!document) return FALSE;<br />	<br />	return TRUE;<br />	<br />}<br /><br />- (NSSize) canvasSize{<br />	return NSMakeSize(350.0, 250.0);<br />}<br /><br /><br />- (void) drawDocumentInContext:(NSGraphicsContext*)context{<br />	//[context saveGraphicsState];<br />	//NSImage * myImage = [[NSImage alloc] initWithSize:[self canvasSize]];<br />	//[myImage lockFocus];<br />	NSString * test = [[NSString alloc] initWithString:@&quot;Test affichage texte dans un apperçu quicklook&quot;];<br />	NSMutableDictionary * dico = [[NSMutableDictionary alloc] init];<br />	[dico setObject:[NSFont fontWithName:@&quot;Arial&quot; size:12.0] forKey:@&quot;NSFontAttributeName&quot;];<br />	[dico setObject:[NSColor whiteColor] forKey:@&quot;NSForegroundColorAttributeName&quot;];<br />	[test drawInRect:NSMakeRect(50.0, 50.0, 120.0, 35.0) withAttributes:dico];<br />	<br />	//[myImage unlockFocus];<br />	<br />	<br />	<br />	//[context restoreGraphicsState];<br />}<br />
    
  • CéroceCéroce Membre, Modérateur
    10:40 modifié #8
    C'est pas:

    [dico setObject:[NSColor whiteColor] forKey:@&quot;NSForegroundColorAttributeName&quot;];
    


    mais

    [dico setObject:[NSColor whiteColor] forKey:NSForegroundColorAttributeName];
    



    Commence par faire simple ! Là , tu ne sais pas c'est quoi qui ne marche pas.
    Essaie juste par exemple:

    [[NSColor redColor] set];<br />[NSBezierPath fillRect:NSMakeRect(0, 0, 400, 400)];
    


    et pas plus. Tant que tu n'arrives pas dessiner dans le contexte, inutile d'aller plus loin.
  • wiskywisky Membre
    10:40 modifié #9
    Voilà  le résultat :
    [Session started at 2008-12-11 11:42:47 +0100.]<br />2008-12-11 11:42:47.542 qlmanage[1278:10b] Testing quicklookd preview with files:<br />(<br />&nbsp; &nbsp; &quot;/Users/jb/Desktop/file.mtf&quot;<br />)<br />2008-12-11 11:42:47.551 qlmanage[1278:10b] [QL] Succesfully activated built-in quicklookd sandbox profile<br />2008-12-11 11:42:47.686 qlmanage[1278:4403] [QL] Preview test for /Users/jb/Desktop/file.mtf. Content type UTI: None<br />2008-12-11 11:42:47.696 qlmanage[1278:4307] [QL] Previewing /Users/jb/Desktop/file.mtf. Content type UTI: None. Generator used: None<br />2008-12-11 11:42:47.714 qlmanage[1278:4a0b] [QL] Thumbnailing file://localhost/Users/jb/Desktop/file.mtf (512 x 512). Content type UTI: None. Generator used: None<br />2008-12-11 11:42:47.716 qlmanage[1278:4a0b] [QL] Thumbnailing for file://localhost/Users/jb/Desktop/file.mtf done (No image created).<br />
    


    Le code de GeneratePreviewForURL :
    OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options)<br />{<br />	<br />&nbsp; &nbsp; NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];<br />	<br />&nbsp; &nbsp; // Create and read the document file<br />&nbsp; &nbsp; Document* document = [[Document alloc] init];<br />	<br />&nbsp; &nbsp; if(![document readFromURL:(NSURL *)url ofType:(NSString *)contentTypeUTI]) {<br />&nbsp; &nbsp; &nbsp; &nbsp; [document release];<br />&nbsp; &nbsp; &nbsp; &nbsp; [pool release];<br />&nbsp; &nbsp; &nbsp; &nbsp; return noErr;<br />		<br />&nbsp; &nbsp; }<br />	NSLog(@&quot;Document OK&quot;);<br />	<br />	<br />&nbsp; &nbsp; NSSize canvasSize = [document canvasSize];<br />	<br />&nbsp; &nbsp; // Preview will be drawn in a vectorized context<br />	<br />&nbsp; &nbsp; CGContextRef cgContext = QLPreviewRequestCreateContext(preview, *(CGSize *)&amp;canvasSize, false, NULL);<br />	<br />&nbsp; &nbsp; if(cgContext) {<br />		NSLog(@&quot;cgContext OK&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; NSGraphicsContext* context = [NSGraphicsContext graphicsContextWithGraphicsPort:(void *)cgContext flipped:YES];<br />		<br />&nbsp; &nbsp; &nbsp; &nbsp; if(context) {<br />			NSLog(@&quot;context OK&quot;);<br />			[NSGraphicsContext saveGraphicsState];<br />			[NSGraphicsContext setCurrentContext:context];<br />			[context saveGraphicsState];<br />			<br />			[[NSColor redColor] set];<br />			[NSBezierPath fillRect:NSMakeRect(0, 0, 400, 400)];<br />			<br />			[NSGraphicsContext restoreGraphicsState];<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />		<br />&nbsp; &nbsp; &nbsp; &nbsp; QLPreviewRequestFlushContext(preview, cgContext);<br />&nbsp; &nbsp; &nbsp; &nbsp; CFRelease(cgContext);<br />		<br />&nbsp; &nbsp; }<br />	<br />&nbsp; &nbsp; [pool release];<br />	<br />	return noErr;<br />}
    


    Les NSLog n'affiche rien ! c'est normal ?
  • wiskywisky Membre
    10:40 modifié #10
    Après avoir été voir des exemples de code source, voici ce que j'ai :
    2008-12-11 13:22:09.000 qlmanage[2148:10b] Testing quicklookd preview with files:<br />(<br />&nbsp; &nbsp; &quot;/Users/jb/Desktop/file.mtff&quot;<br />)<br />2008-12-11 13:22:09.009 qlmanage[2148:10b] [QL] Succesfully activated built-in quicklookd sandbox profile<br />2008-12-11 13:22:09.133 qlmanage[2148:4403] [QL] Preview test for /Users/jb/Desktop/file.mtff. Content type UTI: dyn.ah62d4rv4ge8047dgq2<br />2008-12-11 13:22:09.138 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator Built-in&gt; for public.image<br />2008-12-11 13:22:09.143 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Audio.qlgenerator&gt; for public.audio<br />2008-12-11 13:22:09.145 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Bookmark.qlgenerator&gt; for com.apple.safari.bookmark<br />2008-12-11 13:22:09.146 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Bookmark.qlgenerator&gt; for com.apple.safari.history<br />2008-12-11 13:22:09.148 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Bookmark.qlgenerator&gt; for public.svg-image<br />2008-12-11 13:22:09.151 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Contact.qlgenerator&gt; for public.vcard<br />2008-12-11 13:22:09.151 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Contact.qlgenerator&gt; for com.apple.addressbook.person<br />2008-12-11 13:22:09.199 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Contact.qlgenerator&gt; for com.apple.addressbook.group<br />2008-12-11 13:22:09.212 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Font.qlgenerator&gt; for public.font<br />2008-12-11 13:22:09.214 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/iCal.qlgenerator&gt; for com.apple.ical.bookmark<br />2008-12-11 13:22:09.215 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/iCal.qlgenerator&gt; for com.apple.ical.bookmark.todo<br />2008-12-11 13:22:09.215 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/iCal.qlgenerator&gt; for com.apple.ical.ics<br />2008-12-11 13:22:09.216 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/iCal.qlgenerator&gt; for com.apple.ical.ics.event<br />2008-12-11 13:22:09.217 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/iCal.qlgenerator&gt; for com.apple.ical.ics.todo<br />2008-12-11 13:22:09.219 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Mail.qlgenerator&gt; for com.apple.mail.emlx<br />2008-12-11 13:22:09.230 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Mail.qlgenerator&gt; for com.apple.mail.email<br />2008-12-11 13:22:09.232 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Movie.qlgenerator&gt; for public.movie<br />2008-12-11 13:22:09.233 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Movie.qlgenerator&gt; for com.apple.quartz-composer-composition<br />2008-12-11 13:22:09.236 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Package.qlgenerator&gt; for com.apple.package<br />2008-12-11 13:22:09.238 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/PDF.qlgenerator&gt; for com.adobe.pdf<br />2008-12-11 13:22:09.240 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/StandardBundles.qlgenerator&gt; for com.apple.application<br />2008-12-11 13:22:09.242 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/StandardBundles.qlgenerator&gt; for com.apple.dashboard-widget<br />2008-12-11 13:22:09.242 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/StandardBundles.qlgenerator&gt; for com.apple.systempreference.prefpane<br />2008-12-11 13:22:09.244 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Text.qlgenerator&gt; for public.plain-text<br />2008-12-11 13:22:09.245 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Text.qlgenerator&gt; for public.rtf<br />2008-12-11 13:22:09.246 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Text.qlgenerator&gt; for com.apple.rtfd<br />2008-12-11 13:22:09.247 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Text.qlgenerator&gt; for com.microsoft.word.doc<br />2008-12-11 13:22:09.248 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Text.qlgenerator&gt; for org.oasis-open.opendocument.text<br />2008-12-11 13:22:09.249 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Text.qlgenerator&gt; for com.apple.property-list<br />2008-12-11 13:22:09.251 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/Frameworks/QuickLook.framework/Resources/Generators/Web.qlgenerator&gt; for public.html<br />2008-12-11 13:22:09.254 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/iChat.qlgenerator&gt; for com.apple.ichat.ichat<br />2008-12-11 13:22:09.255 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/iChat.qlgenerator&gt; for com.apple.ichat.transcript<br />2008-12-11 13:22:09.256 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/Office.qlgenerator&gt; for com.microsoft.word.doc<br />2008-12-11 13:22:09.258 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/Office.qlgenerator&gt; for com.microsoft.word.stationery<br />2008-12-11 13:22:09.259 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/Office.qlgenerator&gt; for com.microsoft.excel.xls<br />2008-12-11 13:22:09.263 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/Office.qlgenerator&gt; for com.microsoft.powerpoint.ppt<br />2008-12-11 13:22:09.264 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/Office.qlgenerator&gt; for com.microsoft.powerpoint.pps<br />2008-12-11 13:22:09.265 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/Office.qlgenerator&gt; for org.openxmlformats.wordprocessingml.document<br />2008-12-11 13:22:09.266 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/Office.qlgenerator&gt; for org.openxmlformats.spreadsheetml.sheet<br />2008-12-11 13:22:09.268 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/Office.qlgenerator&gt; for org.openxmlformats.presentationml.presentation<br />2008-12-11 13:22:09.269 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /System/Library/QuickLook/Office.qlgenerator&gt; for org.openxmlformats.presentationml.slideshow<br />2008-12-11 13:22:09.271 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/iWork.qlgenerator&gt; for com.apple.iwork.keynote.key<br />2008-12-11 13:22:09.272 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/iWork.qlgenerator&gt; for com.apple.iwork.pages.pages<br />2008-12-11 13:22:09.278 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/iWork.qlgenerator&gt; for com.apple.iwork.numbers.numbers<br />2008-12-11 13:22:09.281 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/QLColorCode.qlgenerator&gt; for public.source-code<br />2008-12-11 13:22:09.282 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/QLColorCode.qlgenerator&gt; for public.xml<br />2008-12-11 13:22:09.283 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/QLColorCode.qlgenerator&gt; for com.apple.property-list<br />2008-12-11 13:22:09.287 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/QLColorCode.qlgenerator&gt; for org.tug.tex<br />2008-12-11 13:22:09.289 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/Suspicious Package.qlgenerator&gt; for com.apple.installer-package<br />2008-12-11 13:22:09.290 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/Suspicious Package.qlgenerator&gt; for com.apple.installer-meta-package<br />2008-12-11 13:22:09.291 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/Suspicious Package.qlgenerator&gt; for com.mothersruin.installer-flat-package<br />2008-12-11 13:22:09.292 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/Suspicious Package.qlgenerator&gt; for com.mothersruin.installer-bom-file<br />2008-12-11 13:22:09.294 qlmanage[2148:6303] [QL] Registering &lt;QLGenerator /Library/QuickLook/VMware Fusion QuickLook.qlgenerator&gt; for com.vmware.vm-package<br />2008-12-11 13:22:09.298 qlmanage[2148:6003] [QL] Previewing /Users/jb/Desktop/file.mtff. Content type UTI: dyn.ah62d4rv4ge8047dgq2. Generator used: None<br />2008-12-11 13:22:09.313 qlmanage[2148:6407] [QL] Thumbnailing file://localhost/Users/jb/Desktop/file.mtff (512 x 512). Content type UTI: dyn.ah62d4rv4ge8047dgq2. Generator used: None<br />2008-12-11 13:22:09.316 qlmanage[2148:6407] [QL] Thumbnailing for file://localhost/Users/jb/Desktop/file.mtff done (No image created).
    
Connectez-vous ou Inscrivez-vous pour répondre.