[Qt-creator] Plugin MIME types

Oswald Buddenhagen oswald.buddenhagen at nokia.com
Wed Dec 7 16:02:33 CET 2011


On Wed, Dec 07, 2011 at 05:48:08PM +0400, ext Konstantin Tokarev wrote:
> 
> 
> 07.12.2011, 17:38, leandro.melo at nokia.com:
> > Hi...
> >
> >>  Is it more preferable to create new custom MIME types for Qt Creator plugin as "application/vnd..." than "application/x-..." or "text/x-..."?
> >
> > From a technical point of view this wouldn't matter much for Creator, so I guess it depends on what exactly is the use of the file. If it's something open that will somehow be "consumed" by your plugin, the x- subtype is probably a good idea since it's the recommendation for non-standard formats. The vnd subtype is typically for proprietary stuff.
> 
> In my case it's build system project file. Looking at plugins in main tree, I've found that QMake project is declared as "application/vnd..." and CMake project as "text/x-cmake". Also it seems like IETF is deprecating "x-" [1], so I'm in doubt. 
> 
you should use the vnd notation.



More information about the Qt-creator mailing list