diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-02-08 14:31:55 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-02-27 13:54:59 +0000 |
commit | d64e17ad55f155951fc76e4c2f04299aa9c7a912 (patch) | |
tree | 16890479318c917c88392035a461e9edbcf76621 /qbs | |
parent | ca1d1dfbe2c2b046b5661de20da9e20d4b511680 (diff) | |
download | qt-creator-d64e17ad55f155951fc76e4c2f04299aa9c7a912.tar.gz |
Move mimetype definitions to plugin specs
- Avoids the hassle of QRC files and manually registering mime types
- Avoids performance regressions because of mime types that are
registered after mime database has been used
- Makes it technically possible to detect that a disabled plugin could
handle a mime type if it was enabled
Change-Id: I373008b1b56e9c6b4853055f20b3eeb112a6eff9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'qbs')
-rw-r--r-- | qbs/imports/QtcPlugin.qbs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/qbs/imports/QtcPlugin.qbs b/qbs/imports/QtcPlugin.qbs index d0159dceef..17d43e4582 100644 --- a/qbs/imports/QtcPlugin.qbs +++ b/qbs/imports/QtcPlugin.qbs @@ -55,12 +55,6 @@ QtcProduct { fileTags: ["pluginJsonIn"] } - Group { - name: "MimeTypes" - prefix: product.sourceDirectory + '/' - files: [ "*.mimetypes.xml" ] - } - Export { Depends { name: "ExtensionSystem" } Depends { name: "cpp" } |