Commit 029fd5a5 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Streamline mimetypes.xml files



Change-Id: I4f2a28d4732ea496f574e5f51fb1e1633ebca99d
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 67c3fed2
......@@ -44,6 +44,11 @@ Product {
fileTags: ["pluginSpecIn"]
}
Group {
name: "MimeTypes"
files: [ "*.mimetypes.xml" ]
}
Group {
fileTagsFilter: product.type
qbs.install: true
......
<RCC>
<qresource prefix="/autotoolsproject" >
<file>AutotoolsProject.mimetypes.xml</file>
<file>AutotoolsProjectManager.mimetypes.xml</file>
</qresource>
</RCC>
......@@ -32,5 +32,3 @@ SOURCES = autotoolsprojectplugin.cpp\
makefileparserthread.cpp\
makefileparser.cpp
RESOURCES += autotoolsproject.qrc
OTHER_FILES += AutotoolsProject.mimetypes.xml
......@@ -12,7 +12,6 @@ QtcPlugin {
Depends { name: "CppTools" }
files: [
"AutotoolsProject.mimetypes.xml",
"autogenstep.cpp",
"autogenstep.h",
"autoreconfstep.cpp",
......
......@@ -59,7 +59,7 @@ bool AutotoolsProjectPlugin::initialize(const QStringList &arguments,
{
Q_UNUSED(arguments);
if (!Core::ICore::mimeDatabase()->addMimeTypes(QLatin1String(":autotoolsproject/AutotoolsProject.mimetypes.xml"), errorString))
if (!Core::ICore::mimeDatabase()->addMimeTypes(QLatin1String(":autotoolsproject/AutotoolsProjectManager.mimetypes.xml"), errorString))
return false;
addAutoReleasedObject(new AutotoolsBuildConfigurationFactory);
......
......@@ -35,5 +35,3 @@ FORMS += checkoutdialog.ui \
versionselector.ui
RESOURCES += clearcase.qrc
OTHER_FILES += ClearCase.mimetypes.xml
......@@ -17,7 +17,6 @@ QtcPlugin {
Depends { name: "Locator" }
files: [
"ClearCase.mimetypes.xml",
"activityselector.cpp",
"activityselector.h",
"annotationhighlighter.cpp",
......
<RCC>
<qresource prefix="/cmakeproject">
<file>CMakeProject.mimetypes.xml</file>
<file>CMakeProjectManager.mimetypes.xml</file>
</qresource>
</RCC>
......@@ -34,7 +34,3 @@ SOURCES = cmakeproject.cpp \
cmakevalidator.cpp
RESOURCES += cmakeproject.qrc
FORMS +=
OTHER_FILES += CMakeProject.mimetypes.xml
......@@ -19,7 +19,7 @@ QtcPlugin {
]
files: [
"CMakeProject.mimetypes.xml",
"CMakeProjectManager.mimetypes.xml",
"cmakebuildconfiguration.cpp",
"cmakebuildconfiguration.h",
"cmakeeditor.cpp",
......
......@@ -57,7 +57,7 @@ CMakeProjectPlugin::~CMakeProjectPlugin()
bool CMakeProjectPlugin::initialize(const QStringList & /*arguments*/, QString *errorMessage)
{
if (!Core::ICore::mimeDatabase()->addMimeTypes(QLatin1String(":cmakeproject/CMakeProject.mimetypes.xml"), errorMessage))
if (!Core::ICore::mimeDatabase()->addMimeTypes(QLatin1String(":cmakeproject/CMakeProjectManager.mimetypes.xml"), errorMessage))
return false;
CMakeSettingsPage *cmp = new CMakeSettingsPage();
addAutoReleasedObject(cmp);
......
......@@ -36,7 +36,6 @@ SOURCES += cppeditorplugin.cpp \
cpptypehierarchy.cpp
RESOURCES += cppeditor.qrc
OTHER_FILES += CppEditor.mimetypes.xml
equals(TEST, 1) {
SOURCES += \
......
......@@ -17,7 +17,6 @@ QtcPlugin {
cpp.includePaths: base.concat("../../libs/3rdparty")
files: [
"CppEditor.mimetypes.xml",
"cppautocompleter.cpp",
"cppautocompleter.h",
"cppclasswizard.cpp",
......
......@@ -26,5 +26,3 @@ SOURCES += annotationhighlighter.cpp \
FORMS += settingspage.ui
RESOURCES += cvs.qrc
OTHER_FILES += CVS.mimetypes.xml
......@@ -13,7 +13,6 @@ QtcPlugin {
Depends { name: "Locator" }
files: [
"CVS.mimetypes.xml",
"annotationhighlighter.cpp",
"annotationhighlighter.h",
"checkoutwizard.cpp",
......
......@@ -64,4 +64,4 @@ SOURCES += formeditorplugin.cpp \
RESOURCES += designer.qrc
OTHER_FILES += Designer.mimetypes.xml README.txt
OTHER_FILES += README.txt
......@@ -20,7 +20,6 @@ QtcPlugin {
])
files: [
"Designer.mimetypes.xml",
"README.txt",
"codemodelhelpers.cpp",
"codemodelhelpers.h",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment