> On May 8, 2016, at 12:47 AM, Samuel Gaist <[email protected]> wrote: > > > On 2 mai 2016, at 09:07, Eike Ziller <[email protected]> wrote: > >> >>> On May 1, 2016, at 01:47, Jake Petroules <[email protected]> wrote: >>> >>> That would be pretty awesome. It's possible we could ship it inside of Qt >>> Creator? You can put them in either ~/Library/QuickLook or in >>> $BUNDLE_CONTENTS/Library/QuickLook > > Sure thing, that's the direction I was looking for if possible :) > > Note that currently it is a really bare bone plugin. If it's made part of Qt > Creator, we could maybe implement highlighting using Qt Creator's code model ? > >> >> That made me start wondering why I do see a text preview for .qml files. We >> do declare these as OSType text in Qt Creator’s Info.plist. >> So I tried https://codereview.qt-project.org/157721 for .pro, .pri, .qbs and >> .qrc as well, so far without any effect, but maybe that is because of some >> fancy OS caching of these values? >> >> Br, Eike > > Sorry, I currently don't know what may be the cause of this.
The revised patch https://codereview.qt-project.org/157721 makes Quick Look show .pro/.pri/.qbs/.qrc/.ui/.qml/.qdoc/.qdocconf/.creator/.qmlproject files as text. .qml is already also handled by the Info.plist of qml.app (that’s why it already works there). I’ll look into adding the same to qmake/rcc/uic/qbs/qdoc, so one doesn’t even need to have Qt Creator installed. Br, Eike > Samuel > >> >>>> On Apr 30, 2016, at 4:09 PM, Samuel Gaist <[email protected]> wrote: >>>> >>>> Hi, >>>> >>>> I wrote a small QuickLook plugin for OS X that allows to get a preview of >>>> Qt's .pro, .pri and .qrc files without opening any editor. >>>> >>>> Would there be any interest in making it part of the standard OS X >>>> installation ? >>>> >>>> If so, what would be the process to include it ? >>>> >>>> Cheers >>>> Samuel >>>> >>>> >>>> _______________________________________________ >>>> Development mailing list >>>> [email protected] >>>> http://lists.qt-project.org/mailman/listinfo/development >>> >>> -- >>> Jake Petroules - [email protected] >>> Consulting Services Engineer - The Qt Company >>> Qbs build system evangelist - qbs.io >>> >>> _______________________________________________ >>> Development mailing list >>> [email protected] >>> http://lists.qt-project.org/mailman/listinfo/development >> >> > -- Eike Ziller Principal Software Engineer The Qt Company GmbH Rudower Chaussee 13 D-12489 Berlin [email protected] +123 45 6789012 http://qt.io Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
