Commit ec05dfe9 authored by Tim Jenssen's avatar Tim Jenssen Committed by Thomas Hartmann

QmlDesigner: add item library plugins path again

  - This was accidentally removed by the patch which removed
    the old pluginmanager

Change-Id: I990d05555bbfe519c72a1d34cffdfc00360d88c1
Reviewed-by: default avatarThomas Hartmann <>
parent 36a6585f
......@@ -30,6 +30,7 @@
#include "settingspage.h"
#include "designmodecontext.h"
#include <metainfo.h>
#include <connectionview.h>
#include <sourcetool/sourcetool.h>
#include <colortool/colortool.h>
......@@ -187,6 +188,13 @@ bool QmlDesignerPlugin::initialize(const QStringList & /*arguments*/, QString *e
switchTextDesignAction, QmlDesigner::Constants::SWITCH_TEXT_DESIGN, switchContext);
// adding default path to item library plugins
const QString pluginPath = Utils::HostOsInfo::isMacHost()
? QString(QCoreApplication::applicationDirPath() + "/../PlugIns/QmlDesigner")
: QString(QCoreApplication::applicationDirPath() + "/../"
+ QLatin1String(IDE_LIBRARY_BASENAME) + "/qtcreator/plugins/qmldesigner");
connect(switchTextDesignAction, &QAction::triggered, this, &switchTextDesign);
Markdown is supported
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