Skip to content
Snippets Groups Projects
Commit e255f15a authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qbs add Qt overlay icon to qbs files


Change-Id: I9cd6ec7144dc1afce9d8193f5aa6719ed8d29af4
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent c3ad0944
No related branches found
No related tags found
No related merge requests found
...@@ -39,12 +39,14 @@ ...@@ -39,12 +39,14 @@
#include <coreplugin/actionmanager/actioncontainer.h> #include <coreplugin/actionmanager/actioncontainer.h>
#include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
#include <coreplugin/fileiconprovider.h>
#include <coreplugin/mimedatabase.h> #include <coreplugin/mimedatabase.h>
#include <projectexplorer/buildmanager.h> #include <projectexplorer/buildmanager.h>
#include <projectexplorer/project.h> #include <projectexplorer/project.h>
#include <projectexplorer/projectexplorer.h> #include <projectexplorer/projectexplorer.h>
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <qtsupport/qtsupportconstants.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <QAction> #include <QAction>
...@@ -70,6 +72,10 @@ bool QbsProjectManagerPlugin::initialize(const QStringList &arguments, QString * ...@@ -70,6 +72,10 @@ bool QbsProjectManagerPlugin::initialize(const QStringList &arguments, QString *
Q_UNUSED(arguments); Q_UNUSED(arguments);
Core::FileIconProvider::instance()
->registerIconOverlayForSuffix(QIcon(QLatin1String(QtSupport::Constants::ICON_QT_PROJECT)),
QLatin1String("qbs"));
//create and register objects //create and register objects
addAutoReleasedObject(m_manager); addAutoReleasedObject(m_manager);
addAutoReleasedObject(new QbsBuildConfigurationFactory); addAutoReleasedObject(new QbsBuildConfigurationFactory);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment