QtSupport: Remove dependency on CppTools

It was only left for the C++ category for the Qt class generation
settings.

Change-Id: I22d3f198f7b825c4a36d08d4ee28091b9e5b1f43
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Eike Ziller
2019-08-29 12:07:58 +02:00
parent ed9177f74c
commit 545552cc13
12 changed files with 11 additions and 16 deletions

View File

@@ -69,7 +69,6 @@ add_qtc_plugin(CppTools
cppsemanticinfoupdater.cpp cppsemanticinfoupdater.h
cppsourceprocessor.cpp cppsourceprocessor.h
cppsymbolinfo.h
cpptools.qrc
cpptools_clangtidychecks.h
cpptools_clazychecks.h
cpptools_global.h

View File

@@ -190,8 +190,9 @@ CppCodeModelSettingsPage::CppCodeModelSettingsPage(QSharedPointer<CppCodeModelSe
setDisplayName(QCoreApplication::translate("CppTools",Constants::CPP_CODE_MODEL_SETTINGS_NAME));
setCategory(Constants::CPP_SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("CppTools", "C++"));
setCategoryIcon(Utils::Icon({{":/cpptools/images/settingscategory_cpp.png",
Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
setCategoryIcon(Utils::Icon({{":/projectexplorer/images/settingscategory_cpp.png",
Utils::Theme::PanelTextColorDark}},
Utils::Icon::Tint));
}
QWidget *CppCodeModelSettingsPage::widget()

View File

@@ -223,6 +223,3 @@ equals(TEST, 1) {
DEFINES += SRCDIR=\\\"$$PWD\\\"
}
RESOURCES += \
cpptools.qrc

View File

@@ -153,7 +153,6 @@ Project {
"cppsemanticinfoupdater.h",
"cppsourceprocessor.cpp",
"cppsourceprocessor.h",
"cpptools.qrc",
"cpptools_clangtidychecks.h",
"cpptools_clazychecks.h",
"cpptools_global.h",

View File

@@ -1,6 +0,0 @@
<RCC>
<qresource prefix="/cpptools">
<file>images/settingscategory_cpp.png</file>
<file>images/settingscategory_cpp@2x.png</file>
</qresource>
</RCC>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B