forked from qt-creator/qt-creator
QmlDesigner: changing the path of plugins
This patch changes the path of QmlDesigner specific plugins on Linux and Windows. The path is changed from lib/qmldesigner to lib/qtcreator/qmldesigner. The plugins use the same plugindestdir.pri now. Task-number: QTCREATORBUG-5222 Change-Id: I12e874c8501dc7546f924cec950f29b55a837c88 Reviewed-on: http://codereview.qt.nokia.com/4356 Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
This commit is contained in:
@@ -137,7 +137,7 @@ bool BauhausPlugin::initialize(const QStringList & /*arguments*/, QString *error
|
||||
const QString pluginPath = QCoreApplication::applicationDirPath() + "/../PlugIns/QmlDesigner";
|
||||
#else
|
||||
const QString pluginPath = QCoreApplication::applicationDirPath() + "/../"
|
||||
+ QLatin1String(IDE_LIBRARY_BASENAME) + "/qmldesigner";
|
||||
+ QLatin1String(IDE_LIBRARY_BASENAME) + "/qtcreator/qmldesigner";
|
||||
#endif
|
||||
|
||||
m_designerCore->pluginManager()->setPluginPaths(QStringList() << pluginPath);
|
||||
|
||||
Reference in New Issue
Block a user